@@ -90,8 +90,7 @@ |
||
90 | 90 | |
91 | 91 | if (method_exists($parentProperty, 'isInitialized')) { |
92 | 92 | $embeddedObject = $parentProperty->getDeclaringClass()->isInstance($object) && $parentProperty->isInitialized($object) ? |
93 | - $parentProperty->getValue($object) : |
|
94 | - null; |
|
93 | + $parentProperty->getValue($object) : null; |
|
95 | 94 | } else { |
96 | 95 | $embeddedObject = $parentProperty->getValue($object); |
97 | 96 | } |