Page MenuHomePhorge

Add PHPDoc to PhabricatorPHIDType::canLoadNamedObject()
ClosedPublic

Authored by aklapper on Mon, May 19, 17:46.

Details

Summary

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.)

Test Plan

Read the code.

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