kalessil / yii2inspections

MIT License
31 stars 3 forks source link

Suggestion: Detect null return param #30

Closed ghost closed 6 years ago

ghost commented 6 years ago

When a method has a return type (not null allowed), check if there is any return null inside the method.

screen shot 2018-05-20 at 11 54 24

brandonkelly commented 6 years ago

This seems more like a job for phpinspectionsea ;)

ghost commented 6 years ago

yes, wrong project... sorry