@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | unset($this->lazyMappers[$name]); |
| 108 | 108 | } |
| 109 | 109 | |
| 110 | - if (! isset($this->mappers[$name]) || ! $this->mappers[$name]) { |
|
| 110 | + if (!isset($this->mappers[$name]) || !$this->mappers[$name]) { |
|
| 111 | 111 | throw new InvalidArgumentException(sprintf('Mapper named %s is not registered', $name)); |
| 112 | 112 | } |
| 113 | 113 | |
@@ -140,13 +140,13 @@ discard block |
||
| 140 | 140 | $mapper = $this->mapperLocator->get($definition); |
| 141 | 141 | } |
| 142 | 142 | |
| 143 | - if (! $mapper) { |
|
| 143 | + if (!$mapper) { |
|
| 144 | 144 | throw new InvalidArgumentException( |
| 145 | 145 | 'The mapper could not be generated/retrieved.' |
| 146 | 146 | ); |
| 147 | 147 | } |
| 148 | 148 | |
| 149 | - if (! $mapper instanceof Mapper) { |
|
| 149 | + if (!$mapper instanceof Mapper) { |
|
| 150 | 150 | throw new InvalidArgumentException( |
| 151 | 151 | 'The mapper generated from the factory is not a valid `Mapper` instance.' |
| 152 | 152 | ); |