Closed arturolinares closed 8 years ago
Hello,
Good catch. This is indeed a change we should make. But since the method actually return something, we should keep the return tag.
Since @return $this
is supported in PSR-5, what do you think about putting this return tag instead?
I know PSR-5 has not been accepted yet, but it's already supported in
I wasn't aware "return $this" was supported, I'll update the snippet today.
Thanks!
Done. Please let me know if I missed something, I'm back to git from several years working with SVN D:
Can I ask you to squash your commits into one ? Then we will be good to merge. :-)
Squashed :)
Thanks
The setter returns the class, not the field type.