From baa770d969b9bed7d804e77e8ef79b0cee942222 Mon Sep 17 00:00:00 2001 From: Jephte Clain Date: Wed, 19 Mar 2025 17:05:26 +0400 Subject: [PATCH] modifs.mineures sans commentaires --- src/php/access/PropertyAccess.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/php/access/PropertyAccess.php b/src/php/access/PropertyAccess.php index fe09704..ec823c1 100644 --- a/src/php/access/PropertyAccess.php +++ b/src/php/access/PropertyAccess.php @@ -6,9 +6,9 @@ use ReflectionException; use ReflectionProperty; class PropertyAccess extends AbstractAccess { - function __construct(object &$object, $name, ?array $params=null) { + function __construct(object $object, $name, ?array $params=null) { parent::__construct($params); - $this->object =& $object; + $this->object = $object; $this->name = $name; $class = new ReflectionClass($object); try { @@ -32,8 +32,8 @@ class PropertyAccess extends AbstractAccess { protected bool $allowFalse; - function reset(object &$object): self { - $this->object =& $object; + function reset(object $object): self { + $this->object = $object; return $this; }