coding-standard icon indicating copy to clipboard operation
coding-standard copied to clipboard

Private methods don't use the $this object, could be static

Open h4kuna opened this issue 5 years ago • 0 comments

Hello, here is question on twitter Should (private) methods that don't use the object instance be static?

I didn't find sniff, whitch to do it. Do you have plan to add this sniff?

It is very similar like StaticClosureSniff.

h4kuna avatar May 01 '20 14:05 h4kuna