Failed Conditions
Pull Request — master (#75)
by Andreas
02:55
created
lib/Doctrine/Persistence/AbstractManagerRegistry.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
             $name = $this->defaultConnection;
95 95
         }
96 96
 
97
-        if (! isset($this->connections[$name])) {
97
+        if (!isset($this->connections[$name])) {
98 98
             throw new InvalidArgumentException(
99 99
                 sprintf('Doctrine %s Connection named "%s" does not exist.', $this->name, $name)
100 100
             );
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
             $name = $this->defaultManager;
152 152
         }
153 153
 
154
-        if (! isset($this->managers[$name])) {
154
+        if (!isset($this->managers[$name])) {
155 155
             throw new InvalidArgumentException(
156 156
                 sprintf('Doctrine %s Manager named "%s" does not exist.', $this->name, $name)
157 157
             );
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
         if (strpos($class, ':') !== false) {
170 170
             [$namespaceAlias, $simpleClassName] = explode(':', $class, 2);
171 171
 
172
-            $class = $this->getAliasNamespace($namespaceAlias) . '\\' . $simpleClassName;
172
+            $class = $this->getAliasNamespace($namespaceAlias).'\\'.$simpleClassName;
173 173
         }
174 174
 
175 175
         $proxyClass = new ReflectionClass($class);
@@ -187,7 +187,7 @@  discard block
 block discarded – undo
187 187
         foreach ($this->managers as $id) {
188 188
             $manager = $this->getService($id);
189 189
 
190
-            if (! $manager->getMetadataFactory()->isTransient($class)) {
190
+            if (!$manager->getMetadataFactory()->isTransient($class)) {
191 191
                 return $manager;
192 192
             }
193 193
         }
@@ -241,7 +241,7 @@  discard block
 block discarded – undo
241 241
             $name = $this->defaultManager;
242 242
         }
243 243
 
244
-        if (! isset($this->managers[$name])) {
244
+        if (!isset($this->managers[$name])) {
245 245
             throw new InvalidArgumentException(sprintf('Doctrine %s Manager named "%s" does not exist.', $this->name, $name));
246 246
         }
247 247
 
Please login to merge, or discard this patch.