Failed Conditions
Pull Request — master (#90)
by
unknown
02:26
created
lib/Doctrine/Persistence/Mapping/RuntimeReflectionService.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
      */
25 25
     public function getParentClasses(string $class)
26 26
     {
27
-        if (! class_exists($class)) {
27
+        if (!class_exists($class)) {
28 28
             throw MappingException::nonExistingClass($class);
29 29
         }
30 30
 
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
     {
67 67
         $reflectionProperty = new ReflectionProperty($class, $property);
68 68
 
69
-        if (! array_key_exists($property, $this->getClass($class)->getDefaultProperties())) {
69
+        if (!array_key_exists($property, $this->getClass($class)->getDefaultProperties())) {
70 70
             $reflectionProperty = new TypedNoDefaultReflectionProperty($class, $property);
71 71
         } elseif ($reflectionProperty->isPublic()) {
72 72
             $reflectionProperty = new RuntimePublicReflectionProperty($class, $property);
Please login to merge, or discard this patch.