Differential D20624 Diff 49205 src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/oauthserver/phid/PhabricatorOAuthServerClientPHIDType.php
| Show All 26 Lines | final class PhabricatorOAuthServerClientPHIDType extends PhabricatorPHIDType { | ||||
| public function loadHandles( | public function loadHandles( | ||||
| PhabricatorHandleQuery $query, | PhabricatorHandleQuery $query, | ||||
| array $handles, | array $handles, | ||||
| array $objects) { | array $objects) { | ||||
| foreach ($handles as $phid => $handle) { | foreach ($handles as $phid => $handle) { | ||||
| $client = $objects[$phid]; | $client = $objects[$phid]; | ||||
| $handle->setName($client->getName()); | $handle | ||||
| ->setName($client->getName()) | |||||
| ->setURI($client->getURI()); | |||||
| } | } | ||||
| } | } | ||||
| } | } | ||||