Fix deprecation warnings on PHP8.2
This commit is contained in:
parent
a8d95cb55b
commit
1267d6b2f6
@ -19,6 +19,7 @@ use Exception;
|
|||||||
use ReflectionClass;
|
use ReflectionClass;
|
||||||
use ReflectionProperty;
|
use ReflectionProperty;
|
||||||
|
|
||||||
|
#[AllowDynamicProperties]
|
||||||
class Model {
|
class Model {
|
||||||
|
|
||||||
public ?int $id = null;
|
public ?int $id = null;
|
||||||
|
@ -17,7 +17,9 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
namespace Libs;
|
namespace Libs;
|
||||||
|
use AllowDynamicProperties;
|
||||||
|
|
||||||
|
#[AllowDynamicProperties]
|
||||||
class Neuron {
|
class Neuron {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user