'required list', ); } protected function defineReturnType() { return 'nonempty dict'; } protected function execute(ConduitAPIRequest $request) { $users = id(new PhabricatorPeopleQuery()) ->setViewer($request->getUser()) ->withUsernames($request->getValue('aliases', array())) ->execute(); return mpull($users, 'getPHID', 'getUsername'); } }