@@ -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 | |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | |
| 90 | 90 | $accessor = $this->readAccessors[$metadata->class] ?? null; |
| 91 | 91 | if (null === $accessor) { |
| 92 | - $accessor = \Closure::bind(static function ($o, $name) { |
|
| 92 | + $accessor = \Closure::bind(static function($o, $name) { |
|
| 93 | 93 | return $o->$name; |
| 94 | 94 | }, null, $metadata->class); |
| 95 | 95 | $this->readAccessors[$metadata->class] = $accessor; |
@@ -128,7 +128,7 @@ discard block |
||
| 128 | 128 | |
| 129 | 129 | $accessor = $this->writeAccessors[$metadata->class] ?? null; |
| 130 | 130 | if (null === $accessor) { |
| 131 | - $accessor = \Closure::bind(static function ($o, $name, $value): void { |
|
| 131 | + $accessor = \Closure::bind(static function($o, $name, $value): void { |
|
| 132 | 132 | $o->$name = $value; |
| 133 | 133 | }, null, $metadata->class); |
| 134 | 134 | $this->writeAccessors[$metadata->class] = $accessor; |