In php 7.4, variables that are not set have a state of uninitialized. If extracting an entity by reference, extractByReference will fail trying to access an uninitialized property.
expected behavior
Extraction should work with objects that can have uninitialized properties.
proposed solution
Adding a simple isInitialized check before accessing property values
summary
In php 7.4, variables that are not set have a state of
uninitialized
. If extracting an entity by reference, extractByReference will fail trying to access an uninitialized property.expected behavior
Extraction should work with objects that can have uninitialized properties.
proposed solution
Adding a simple
isInitialized
check before accessing property values