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
The idea is not to force all setters to be fluent, however when a function returns $this I guess we can consider it as a "fluent functions" so in this case we can expect its return type to be self
The text was updated successfully, but these errors were encountered:
Add a rule for fluent setter, the rule is to be defined But I believe we expect the return type to be
self
instead of the class nameThe idea is not to force all setters to be fluent, however when a function returns
$this
I guess we can consider it as a "fluent functions" so in this case we can expect its return type to beself
The text was updated successfully, but these errors were encountered: