Passed
Push — dev_2x ( 3e8772...896177 )
by Adrian
06:45
created
src/Orm.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
             );
Please login to merge, or discard this patch.