@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | } |
76 | 76 | |
77 | 77 | foreach ($settings as $name => $config) { |
78 | - if (!is_string($name)) { |
|
78 | + if ( ! is_string($name)) { |
|
79 | 79 | $name = 'entityManager'; |
80 | 80 | } |
81 | 81 | |
@@ -97,7 +97,7 @@ discard block |
||
97 | 97 | } |
98 | 98 | |
99 | 99 | foreach ($settings as $name => $config) { |
100 | - if (!is_string($name)) { |
|
100 | + if ( ! is_string($name)) { |
|
101 | 101 | $name = 'mongoDocumentManager'; |
102 | 102 | } |
103 | 103 | |
@@ -119,7 +119,7 @@ discard block |
||
119 | 119 | } |
120 | 120 | |
121 | 121 | foreach ($settings as $name => $config) { |
122 | - if (!is_string($name)) { |
|
122 | + if ( ! is_string($name)) { |
|
123 | 123 | $name = 'couchDocumentManager'; |
124 | 124 | } |
125 | 125 | |
@@ -135,7 +135,7 @@ discard block |
||
135 | 135 | public function getManagers() |
136 | 136 | { |
137 | 137 | $managers = array_map( |
138 | - function (Builder $builder) { |
|
138 | + function(Builder $builder) { |
|
139 | 139 | return $builder->getManager(); |
140 | 140 | }, |
141 | 141 | $this->builders |
@@ -158,7 +158,7 @@ discard block |
||
158 | 158 | public function getManager($name) |
159 | 159 | { |
160 | 160 | $builder = $this->getBuilder($name); |
161 | - if (!$builder instanceof Builder) { |
|
161 | + if ( ! $builder instanceof Builder) { |
|
162 | 162 | throw new \RuntimeException(sprintf('"%s" is not a registered manager', $name)); |
163 | 163 | } |
164 | 164 |