All implementations of canLoadNamedObject($name) in classes which extend PhabricatorPHIDType run a preg_match() on the $name parameter being passed.
Thus the parameter must always be a string.
(Spoiler: This isn't always the case currently.)
Details
Details
- Reviewers
valerio.bozzolan - Group Reviewers
O1: Blessed Committers - Commits
- rP361b512bd532: Add PHPDoc to PhabricatorPHIDType::canLoadNamedObject()
Read the code.
Diff Detail
Diff Detail
- Repository
- rP Phorge
- Branch
- phpdocCanLoadNamedObject (branched from master)
- Lint
Lint Passed - Unit
Tests Passed - Build Status
Buildable 1994 Build 1994: arc lint + arc unit