- Issue created by @dpi
- π¦πΊAustralia dpi Perth, Australia
- Many of these are resolving implicit nulls.
- PHP behaviour of return value for
void
is NULL. - Many of these already have explicit documentation that specifies a NULL return value, but NULL is not explicitly returned as the final return value.
- There is one instance of return value not set because the final return is in fact an exception, so
never
is added as appropriate.
- πΊπΈUnited States smustgrave
Only temporarily postponing pending feedback on π Resolve issues exposed by PHPStan Strict Active
If we decide there no harm in merging these we can put back into review and I'll put top of my list to review. Just want to make sure they'll be accepted first.
- π¦πΊAustralia mstrelan
Is this a dupe of the existing π± [meta] Fix 'should return {type} but return statement is missing' PHPStan L0 errors Active or do we get more results with the strict package?
- π¦πΊAustralia dpi Perth, Australia
The same error identifier, but more since checkExplicitMixedMissingReturn is on