Return $this from setter methods for consistency. I started writing a linter rule to detect this, but I don't think it is trivial to do this properly.
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- Restricted Diffusion Commit
rPf2435fd1d0b5: Return `$this` from setter methods
Eyeball it.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable