@@ -18,10 +18,10 @@ discard block |
||
| 18 | 18 | { |
| 19 | 19 | $this->propertyName = $propertyName; |
| 20 | 20 | $this->type = $type; |
| 21 | - $this->accessor = function () use ($propertyName) { |
|
| 21 | + $this->accessor = function() use ($propertyName) { |
|
| 22 | 22 | return $this->$propertyName; |
| 23 | 23 | }; |
| 24 | - $this->writer = function ($value) use ($propertyName) { |
|
| 24 | + $this->writer = function($value) use ($propertyName) { |
|
| 25 | 25 | $this->$propertyName = $value; |
| 26 | 26 | }; |
| 27 | 27 | } |
@@ -80,10 +80,10 @@ discard block |
||
| 80 | 80 | { |
| 81 | 81 | $propertyName = $this->propertyName; |
| 82 | 82 | |
| 83 | - $this->accessor = function () use ($propertyName) { |
|
| 83 | + $this->accessor = function() use ($propertyName) { |
|
| 84 | 84 | return $this->$propertyName; |
| 85 | 85 | }; |
| 86 | - $this->writer = function ($value) use ($propertyName) { |
|
| 86 | + $this->writer = function($value) use ($propertyName) { |
|
| 87 | 87 | $this->$propertyName = $value; |
| 88 | 88 | }; |
| 89 | 89 | } |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | break; |
| 107 | 107 | } |
| 108 | 108 | |
| 109 | - $objectHydrator = new $hydratorClass($this->entityManager); |
|
| 109 | + $objectHydrator = new $hydratorClass($this->entityManager); |
|
| 110 | 110 | |
| 111 | 111 | if ($entityMeta->definesCustomHydrator()) { |
| 112 | 112 | $customHydratorClass = $entityMeta->getCustomHydratorClass(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | { |
| 9 | 9 | public static function hydrate(&$value): void |
| 10 | 10 | { |
| 11 | - $value = (float) $value;; |
|
| 11 | + $value = (float) $value; ; |
|
| 12 | 12 | } |
| 13 | 13 | |
| 14 | 14 | public static function extract(&$value): void |