Repository navigation
0.5.4
Features
- DocBlockReturnVoidSniff: Add optional
checkReturnTypeHintproperty to detect invalid: voidreturn type hints on magic methods (__construct,__destruct,__clone)
Fixes
- DocBlockReturnVoidSniff: Fix
hasReturnType()to properly detect return type declarations on interface and abstract methods. Previously, methods with return types but no body (e.g.,public function foo(): string;) incorrectly triggeredReturnMissingInInterfaceerrors.
Full Changelog: 0.5.3...0.5.4