Skip to content

v1.0.7.3

@simon-mundy simon-mundy tagged this 31 May 23:52
findOne() returns ?EntityInterface, but __invoke() declared EntityInterface|self,
so a reference to a missing/deleted resource threw a TypeError and 500'd the page.
Widen the return type to EntityInterface|self|null and add a PHPUnit suite covering
the self, found, and not-found cases.
Assets 2
Loading