diff --git a/src/ReflectionProperty.php b/src/ReflectionProperty.php index dbd4a01..f8f4467 100644 --- a/src/ReflectionProperty.php +++ b/src/ReflectionProperty.php @@ -191,6 +191,7 @@ public function getName(): string /** * @inheritDoc */ + #[\ReturnTypeWillChange] public function getValue($object = null) { if (!isset($object)) {