@@ -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 @@ 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 | |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | ); |
| 37 | 37 | } |
| 38 | 38 | if (!isset($this->loader)) { |
| 39 | - throw NoLoaderAvailable::for($this->class); |
|
| 39 | + throw NoLoaderAvailable::for ($this->class); |
|
| 40 | 40 | } |
| 41 | 41 | if ($this->implements(Proxy::class, $this->class)) { |
| 42 | 42 | return HasManyProxies::inPropertyWithDifferentKey($property, |
@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | ); |
| 51 | 51 | } |
| 52 | 52 | if (!isset($this->container)) { |
| 53 | - throw NoContainerAvailable::for($this->class); |
|
| 53 | + throw NoContainerAvailable::for ($this->class); |
|
| 54 | 54 | } |
| 55 | 55 | return HasOneProxy::inProperty($property, |
| 56 | 56 | ProxyFactory::fromThis( |