Closed stof closed 1 year ago
The actual usage of the class in ObjectProphecy always specifies the argument. Passing null would trigger fatal errors in multiple places in Prophecy due to the getter returning null instead of its expected type.
Makes sense to me 👍
The actual usage of the class in ObjectProphecy always specifies the argument. Passing null would trigger fatal errors in multiple places in Prophecy due to the getter returning null instead of its expected type.