modifs.mineures sans commentaires
This commit is contained in:
parent
c5bfa3940c
commit
baa770d969
@ -6,9 +6,9 @@ use ReflectionException;
|
|||||||
use ReflectionProperty;
|
use ReflectionProperty;
|
||||||
|
|
||||||
class PropertyAccess extends AbstractAccess {
|
class PropertyAccess extends AbstractAccess {
|
||||||
function __construct(object &$object, $name, ?array $params=null) {
|
function __construct(object $object, $name, ?array $params=null) {
|
||||||
parent::__construct($params);
|
parent::__construct($params);
|
||||||
$this->object =& $object;
|
$this->object = $object;
|
||||||
$this->name = $name;
|
$this->name = $name;
|
||||||
$class = new ReflectionClass($object);
|
$class = new ReflectionClass($object);
|
||||||
try {
|
try {
|
||||||
@ -32,8 +32,8 @@ class PropertyAccess extends AbstractAccess {
|
|||||||
|
|
||||||
protected bool $allowFalse;
|
protected bool $allowFalse;
|
||||||
|
|
||||||
function reset(object &$object): self {
|
function reset(object $object): self {
|
||||||
$this->object =& $object;
|
$this->object = $object;
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user