You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Generally speaking, static methods break a lot of the power available to Object-Oriented code and make harder to perform unit testing.
A lot has been written on this subject, a web search should give you more details ...
For exampe:
Actually, all of the methods in Web seem to be working with arguments, none of them depend on an instantiated object ($this)?
The text was updated successfully, but these errors were encountered: