In order to add return types in #459, some tests needs to be updated.
I have a partial understanding of how ReferenceRepository works, with the metadata system.
The setReference method calls getRealClass, which required $metadata->getName(). Which is casted to an empty string when the mock isn't defined for this method call.
In order to add return types in #459, some tests needs to be updated.
I have a partial understanding of how
ReferenceRepository
works, with the metadata system.The
setReference
method callsgetRealClass
, which required$metadata->getName()
. Which is casted to an empty string when the mock isn't defined for this method call.