@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Stratadox\Hydration\Mapper\Instruction; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Stratadox\Hydration\Mapper; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Stratadox\Hydration\Mapper\Instruction; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Stratadox\Hydration\Mapper\Instruction; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Stratadox\Hydration\Mapper\Instruction; |
6 | 6 |
@@ -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 | |
@@ -97,14 +97,14 @@ discard block |
||
97 | 97 | private function needsALoader() : void |
98 | 98 | { |
99 | 99 | if (!isset($this->loader)) { |
100 | - throw NoLoaderAvailable::for($this->class); |
|
100 | + throw NoLoaderAvailable::for ($this->class); |
|
101 | 101 | } |
102 | 102 | } |
103 | 103 | |
104 | 104 | private function needsAContainer() : void |
105 | 105 | { |
106 | 106 | if (!isset($this->container)) { |
107 | - throw NoContainerAvailable::for($this->class); |
|
107 | + throw NoContainerAvailable::for ($this->class); |
|
108 | 108 | } |
109 | 109 | } |
110 | 110 | } |
@@ -1,6 +1,6 @@ |
||
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 |
@@ -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 | |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | { |
159 | 159 | return OneOfTheseHydrators::decideBasedOnThe( |
160 | 160 | $this->decisionKey, |
161 | - array_map(function (RepresentsChoice $choice) { |
|
161 | + array_map(function(RepresentsChoice $choice) { |
|
162 | 162 | return $choice->finish(); |
163 | 163 | }, $this->choices) |
164 | 164 | ); |