diff --git a/src/Accessor/PropertyAccessor.php b/src/Accessor/PropertyAccessor.php index 3fe0b17..713ba3e 100644 --- a/src/Accessor/PropertyAccessor.php +++ b/src/Accessor/PropertyAccessor.php @@ -43,7 +43,7 @@ public function getValue(object $object) $reflection = new \ReflectionProperty($class, $this->property); if (!$reflection->isInitialized($object)) { - return null; + return; } $getter = \Closure::bind(