Fix deprecation warnings on PHP8.2

This commit is contained in:
kj 2023-04-15 13:17:00 -04:00
parent a8d95cb55b
commit 1267d6b2f6
2 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,7 @@ use Exception;
use ReflectionClass;
use ReflectionProperty;
#[AllowDynamicProperties]
class Model {
public ?int $id = null;

View File

@ -17,7 +17,9 @@
*/
namespace Libs;
use AllowDynamicProperties;
#[AllowDynamicProperties]
class Neuron {
/**