@@ -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 @@ 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; |
| 6 | 6 | |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | extends BadMethodCallException |
| 11 | 11 | implements InvalidMapperConfiguration |
| 12 | 12 | { |
| 13 | - public static function for(string $class) : InvalidMapperConfiguration |
|
| 13 | + public static function for (string $class) : InvalidMapperConfiguration |
|
| 14 | 14 | { |
| 15 | 15 | return new NoLoaderAvailable(sprintf( |
| 16 | 16 | 'Could not produce mapping due to a missing loader for class `%s`', |
@@ -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 @@ 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; |
| 6 | 6 | |
@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | extends BadMethodCallException |
| 11 | 11 | implements InvalidMapperConfiguration |
| 12 | 12 | { |
| 13 | - public static function for(string $class) : InvalidMapperConfiguration |
|
| 13 | + public static function for (string $class) : InvalidMapperConfiguration |
|
| 14 | 14 | { |
| 15 | 15 | return new NoContainerAvailable(sprintf( |
| 16 | 16 | 'Could not produce mapping due to a missing container for class `%s`', |
@@ -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 | } |