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
Lint
Lint Not Applicable
Unit
Tests Not Applicable