|
@@ -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.