@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | */ |
| 34 | 34 | public function getParentClasses($class) |
| 35 | 35 | { |
| 36 | - if (! class_exists($class)) { |
|
| 36 | + if (!class_exists($class)) { |
|
| 37 | 37 | throw MappingException::nonExistingClass($class); |
| 38 | 38 | } |
| 39 | 39 | |
@@ -77,7 +77,7 @@ discard block |
||
| 77 | 77 | |
| 78 | 78 | if ($reflectionProperty->isPublic()) { |
| 79 | 79 | $reflectionProperty = new RuntimePublicReflectionProperty($class, $property); |
| 80 | - } elseif ($this->supportsTypedPropertiesWorkaround && ! array_key_exists($property, $this->getClass($class)->getDefaultProperties())) { |
|
| 80 | + } elseif ($this->supportsTypedPropertiesWorkaround && !array_key_exists($property, $this->getClass($class)->getDefaultProperties())) { |
|
| 81 | 81 | $reflectionProperty = new TypedNoDefaultReflectionProperty($class, $property); |
| 82 | 82 | } |
| 83 | 83 | |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | |
| 161 | 161 | private function getManagerFactory() |
| 162 | 162 | { |
| 163 | - return function (string $name) { |
|
| 163 | + return function(string $name) { |
|
| 164 | 164 | $mock = $this->createMock(ObjectManager::class); |
| 165 | 165 | $driver = $this->createMock(MappingDriver::class); |
| 166 | 166 | $metadata = $this->createMock(ClassMetadata::class); |
@@ -205,7 +205,7 @@ discard block |
||
| 205 | 205 | |
| 206 | 206 | protected function getService($name) |
| 207 | 207 | { |
| 208 | - if (! isset($this->services[$name])) { |
|
| 208 | + if (!isset($this->services[$name])) { |
|
| 209 | 209 | $this->services[$name] = call_user_func($this->managerFactory, $name); |
| 210 | 210 | } |
| 211 | 211 | |