Failed Conditions
Pull Request — master (#94)
by Benjamin
05:33 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
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      */
33 33
     public function getParentClasses(string $class)
34 34
     {
35
-        if (! class_exists($class)) {
35
+        if (!class_exists($class)) {
36 36
             throw MappingException::nonExistingClass($class);
37 37
         }
38 38
 
@@ -76,7 +76,7 @@  discard block
 block discarded – undo
76 76
 
77 77
         if ($reflectionProperty->isPublic()) {
78 78
             $reflectionProperty = new RuntimePublicReflectionProperty($class, $property);
79
-        } else if ($this->supportsTypedPropertiesWorkaround && ! array_key_exists($property, $this->getClass($class)->getDefaultProperties())) {
79
+        } else if ($this->supportsTypedPropertiesWorkaround && !array_key_exists($property, $this->getClass($class)->getDefaultProperties())) {
80 80
             $reflectionProperty = new TypedNoDefaultReflectionProperty($class, $property);
81 81
         }
82 82
 
Please login to merge, or discard this patch.