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
- Branch
- master
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 6988 Build 7033: [Placeholder Plan] Wait for 30 Seconds Build 7032: arc lint + arc unit