![]() |
hello. Is it possible to get rid of the following warnings?
PHP Code: // return SchoolEntity The figure below shows a warning. The screen display itself is successful. https://drive.google.com/file/d/1yhsQWjz...p=drivesdk
You should not forget that the find() method may return null if the id is not found.
I don't know what kind of IDE you have, but try specifying the @method tag in the model's docBlock PHP Code: /* (03-04-2022, 10:11 AM)iRedds Wrote: You should not forget that the find() method may return null if the id is not found. Hello, iRedds. Thank you as always. I'm using PHPStorm. When I put it on, it was definitely solved. I feel refreshed! It seems better to attach it to all models. ![]() |
Welcome Guest, Not a member yet? Register Sign In |