@@ -1,6 +1,6 @@ discard block |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | -declare(strict_types=1); |
|
| 3 | +declare(strict_types = 1); |
|
| 4 | 4 | |
| 5 | 5 | namespace Stratadox\Hydration\Mapper\Instruction\Relation; |
| 6 | 6 | |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | */ |
| 107 | 107 | protected function keyOr(string $property):string |
| 108 | 108 | { |
| 109 | - return $this->key ? $this->key->find():$property; |
|
| 109 | + return $this->key ? $this->key->find() : $property; |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | assert(isset($this->decisionKey)); |
| 133 | 133 | return OneOfTheseHydrators::decideBasedOnThe( |
| 134 | 134 | $this->decisionKey, |
| 135 | - array_map(function (RepresentsChoice $choice) { |
|
| 135 | + array_map(function(RepresentsChoice $choice) { |
|
| 136 | 136 | return $choice->finish(); |
| 137 | 137 | }, $this->choices) |
| 138 | 138 | ); |