@@ -43,11 +43,11 @@ discard block |
||
| 43 | 43 | */ |
| 44 | 44 | private function populateData(string $key, $value) |
| 45 | 45 | { |
| 46 | - if (! property_exists($this->object, $key)) { |
|
| 46 | + if (!property_exists($this->object, $key)) { |
|
| 47 | 47 | return; |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - if (! $this->isPublic($key)) { |
|
| 50 | + if (!$this->isPublic($key)) { |
|
| 51 | 51 | throw HydratorException::cannotPopulateNonPublicProperty($key); |
| 52 | 52 | } |
| 53 | 53 | |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | } |
| 76 | 76 | |
| 77 | 77 | if ($dataType === 'bool') { |
| 78 | - return ! empty($value); |
|
| 78 | + return !empty($value); |
|
| 79 | 79 | } |
| 80 | 80 | |
| 81 | 81 | if ($dataType === 'float') { |