|
@@ -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
|
|
|
@@ -74,7 +74,7 @@ discard block |
|
|
block discarded – undo |
|
74
|
74
|
{ |
|
75
|
75
|
$reflectionProperty = new ReflectionProperty($class, $property); |
|
76
|
76
|
|
|
77
|
|
- if ($this->supportsTypedPropertiesWorkaround && ! array_key_exists($property, $this->getClass($class)->getDefaultProperties())) { |
|
|
77
|
+ if ($this->supportsTypedPropertiesWorkaround && !array_key_exists($property, $this->getClass($class)->getDefaultProperties())) { |
|
78
|
78
|
$reflectionProperty = new TypedNoDefaultReflectionProperty($class, $property); |
|
79
|
79
|
} elseif ($reflectionProperty->isPublic()) { |
|
80
|
80
|
$reflectionProperty = new RuntimePublicReflectionProperty($class, $property); |
Please login to merge, or discard this patch.