@@ -81,7 +81,7 @@ |
||
| 81 | 81 | } |
| 82 | 82 | |
| 83 | 83 | if (PHP_VERSION_ID >= 70400 && !$ref->isInitialized($object)) { |
| 84 | - return null; |
|
| 84 | + return null; |
|
| 85 | 85 | } |
| 86 | 86 | return $ref->getValue($object); |
| 87 | 87 | } |
@@ -80,7 +80,7 @@ discard block |
||
| 80 | 80 | $this->propertyReflectionCache[$metadata->class][$metadata->name] = $ref; |
| 81 | 81 | } |
| 82 | 82 | |
| 83 | - if (PHP_VERSION_ID >= 70400 && !$ref->isInitialized($object)) { |
|
| 83 | + if (PHP_VERSION_ID >= 70400 && ! $ref->isInitialized($object)) { |
|
| 84 | 84 | return null; |
| 85 | 85 | } |
| 86 | 86 | return $ref->getValue($object); |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | |
| 89 | 89 | $accessor = $this->readAccessors[$metadata->class] ?? null; |
| 90 | 90 | if (null === $accessor) { |
| 91 | - $accessor = \Closure::bind(static function ($o, $name) { |
|
| 91 | + $accessor = \Closure::bind(static function($o, $name) { |
|
| 92 | 92 | return $o->$name; |
| 93 | 93 | }, null, $metadata->class); |
| 94 | 94 | $this->readAccessors[$metadata->class] = $accessor; |
@@ -127,7 +127,7 @@ discard block |
||
| 127 | 127 | |
| 128 | 128 | $accessor = $this->writeAccessors[$metadata->class] ?? null; |
| 129 | 129 | if (null === $accessor) { |
| 130 | - $accessor = \Closure::bind(static function ($o, $name, $value): void { |
|
| 130 | + $accessor = \Closure::bind(static function($o, $name, $value): void { |
|
| 131 | 131 | $o->$name = $value; |
| 132 | 132 | }, null, $metadata->class); |
| 133 | 133 | $this->writeAccessors[$metadata->class] = $accessor; |