@@ -72,11 +72,11 @@ abstract class AbstractManagerRegistry implements ManagerRegistry
7272 */
7373 public function __construct ($ name , array $ connections , array $ managers , $ defaultConnection , $ defaultManager , $ proxyInterfaceName )
7474 {
75- $ this ->name = $ name ;
76- $ this ->connections = $ connections ;
77- $ this ->managers = $ managers ;
78- $ this ->defaultConnection = $ defaultConnection ;
79- $ this ->defaultManager = $ defaultManager ;
75+ $ this ->name = $ name ;
76+ $ this ->connections = $ connections ;
77+ $ this ->managers = $ managers ;
78+ $ this ->defaultConnection = $ defaultConnection ;
79+ $ this ->defaultManager = $ defaultManager ;
8080 $ this ->proxyInterfaceName = $ proxyInterfaceName ;
8181 }
8282
@@ -121,7 +121,7 @@ public function getConnection($name = null)
121121 $ name = $ this ->defaultConnection ;
122122 }
123123
124- if (! isset ($ this ->connections [$ name ])) {
124+ if ( ! isset ($ this ->connections [$ name ])) {
125125 throw new \InvalidArgumentException (sprintf ('Doctrine %s Connection named "%s" does not exist. ' , $ this ->name , $ name ));
126126 }
127127
@@ -176,7 +176,7 @@ public function getManager($name = null)
176176 $ name = $ this ->defaultManager ;
177177 }
178178
179- if (! isset ($ this ->managers [$ name ])) {
179+ if ( ! isset ($ this ->managers [$ name ])) {
180180 throw new \InvalidArgumentException (sprintf ('Doctrine %s Manager named "%s" does not exist. ' , $ this ->name , $ name ));
181181 }
182182
@@ -191,13 +191,13 @@ public function getManagerForClass($class)
191191 // Check for namespace alias
192192 if (strpos ($ class , ': ' ) !== false ) {
193193 list ($ namespaceAlias , $ simpleClassName ) = explode (': ' , $ class , 2 );
194- $ class = $ this ->getAliasNamespace ($ namespaceAlias ) . '\\' . $ simpleClassName ;
194+ $ class = $ this ->getAliasNamespace ($ namespaceAlias ) . '\\' . $ simpleClassName ;
195195 }
196196
197197 $ proxyClass = new \ReflectionClass ($ class );
198198
199199 if ($ proxyClass ->implementsInterface ($ this ->proxyInterfaceName )) {
200- if (! $ parentClass = $ proxyClass ->getParentClass ()) {
200+ if ( ! $ parentClass = $ proxyClass ->getParentClass ()) {
201201 return null ;
202202 }
203203
@@ -207,7 +207,7 @@ public function getManagerForClass($class)
207207 foreach ($ this ->managers as $ id ) {
208208 $ manager = $ this ->getService ($ id );
209209
210- if (! $ manager ->getMetadataFactory ()->isTransient ($ class )) {
210+ if ( ! $ manager ->getMetadataFactory ()->isTransient ($ class )) {
211211 return $ manager ;
212212 }
213213 }
@@ -251,7 +251,7 @@ public function resetManager($name = null)
251251 $ name = $ this ->defaultManager ;
252252 }
253253
254- if (! isset ($ this ->managers [$ name ])) {
254+ if ( ! isset ($ this ->managers [$ name ])) {
255255 throw new \InvalidArgumentException (sprintf ('Doctrine %s Manager named "%s" does not exist. ' , $ this ->name , $ name ));
256256 }
257257
0 commit comments