Back

hey all, i just started using larastan , for better code analysis, but sometime error like this make me confuse , what to do next.
should i configure php stan to ignore these type of error suggestion or should i configure pint to remove return types, if the function has empty body ?

image

5

276

if you're not going to implement it, you can just remove it. and if you must have them, just return the default value. If you can go for the former.

1

112