|
@@ -33,7 +33,7 @@ discard block |
|
|
block discarded – undo |
|
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 |
|
|
block discarded – undo |
|
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
|
|
Please login to merge, or discard this patch.