We don't try to guess if the API reply will be an object with the
PHID as key, or an array with 0 as offset for our reply, or an object
with 0 as property.
Instead, we call PhabricatorAPI::getFirstResult() method.
Differential D120
Better Phabricator API requests handling dereckson on Dec 25 2015, 19:45. Authored by Tags None Referenced Files
Subscribers None
Details
We don't try to guess if the API reply will be an object with the Instead, we call PhabricatorAPI::getFirstResult() method. With this change, the development server fired notifications 19:42:09 < Wearg> dereckson accepted D117: PHPMD: composer phpmd.
Diff Detail
|