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

274

In response to @JaiveerChavda

Depends, are you gonna implement these functions later? If yes, then i would let the errors there so i can remember to implement them later, if not, just return the default behavior that i am expecting for these actions on this policy or remove them entirely

1

91

  • No matching results...
  • Searching...

/ 1000