Completed
Pull Request — master (#94)
by Benjamin
05:20 queued 02:43
created
lib/Doctrine/Persistence/Mapping/RuntimeReflectionService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
      */
36 36
     public function getParentClasses(string $class)
37 37
     {
38
-        if (! class_exists($class)) {
38
+        if (!class_exists($class)) {
39 39
             throw MappingException::nonExistingClass($class);
40 40
         }
41 41
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
 
80 80
         if ($reflectionProperty->isPublic()) {
81 81
             $reflectionProperty = new RuntimePublicReflectionProperty($class, $property);
82
-        } elseif ($this->supportsTypedPropertiesWorkaround && ! array_key_exists($property, $this->getClass($class)->getDefaultProperties())) {
82
+        } elseif ($this->supportsTypedPropertiesWorkaround && !array_key_exists($property, $this->getClass($class)->getDefaultProperties())) {
83 83
             $reflectionProperty = new TypedNoDefaultReflectionProperty($class, $property);
84 84
         }
85 85
 
Please login to merge, or discard this patch.