Completed
Pull Request — master (#50)
by Jonathan
05:13 queued 03:02
created
lib/Doctrine/Persistence/AbstractManagerRegistry.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             $name = $this->defaultConnection;
92 92
         }
93 93
 
94
-        if (! isset($this->connections[$name])) {
94
+        if (!isset($this->connections[$name])) {
95 95
             throw new InvalidArgumentException(
96 96
                 sprintf('Doctrine %s Connection named "%s" does not exist.', $this->name, $name)
97 97
             );
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
             $name = $this->defaultManager;
149 149
         }
150 150
 
151
-        if (! isset($this->managers[$name])) {
151
+        if (!isset($this->managers[$name])) {
152 152
             throw new InvalidArgumentException(
153 153
                 sprintf('Doctrine %s Manager named "%s" does not exist.', $this->name, $name)
154 154
             );
@@ -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);
@@ -188,7 +188,7 @@  discard block
 block discarded – undo
188 188
             /** @var ObjectManager $manager */
189 189
             $manager = $this->getService($id);
190 190
 
191
-            if (! $manager->getMetadataFactory()->isTransient($class)) {
191
+            if (!$manager->getMetadataFactory()->isTransient($class)) {
192 192
                 return $manager;
193 193
             }
194 194
         }
@@ -247,7 +247,7 @@  discard block
 block discarded – undo
247 247
             $name = $this->defaultManager;
248 248
         }
249 249
 
250
-        if (! isset($this->managers[$name])) {
250
+        if (!isset($this->managers[$name])) {
251 251
             throw new InvalidArgumentException(sprintf('Doctrine %s Manager named "%s" does not exist.', $this->name, $name));
252 252
         }
253 253
 
Please login to merge, or discard this patch.