@@ -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') { |
@@ -5,10 +5,10 @@ |
||
5 | 5 | use Rector\Config\RectorConfig; |
6 | 6 | use Rector\Set\ValueObject\SetList; |
7 | 7 | |
8 | -return static function (RectorConfig $rectorConfig): void { |
|
8 | +return static function(RectorConfig $rectorConfig): void { |
|
9 | 9 | $rectorConfig->paths([ |
10 | - __DIR__ . '/src', |
|
11 | - __DIR__ . '/tests', |
|
10 | + __DIR__.'/src', |
|
11 | + __DIR__.'/tests', |
|
12 | 12 | ]); |
13 | 13 | |
14 | 14 | $rectorConfig->sets([ |