Changeset View
Changeset View
Standalone View
Standalone View
src/browse/query/ArcanistBrowseURIHardpointQuery.php
Show All 30 Lines | foreach ($refs as $key => $ref) { | ||||
unset($refs[$key]); | unset($refs[$key]); | ||||
} | } | ||||
return $refs; | return $refs; | ||||
} | } | ||||
public static function getAllBrowseQueries() { | public static function getAllBrowseQueries() { | ||||
return id(new PhutilClassMapQuery()) | return (new PhutilClassMapQuery()) | ||||
->setAncestorClass(__CLASS__) | ->setAncestorClass(__CLASS__) | ||||
->execute(); | ->execute(); | ||||
} | } | ||||
final protected function newBrowseURIRef() { | final protected function newBrowseURIRef() { | ||||
return id(new ArcanistBrowseURIRef()) | return (new ArcanistBrowseURIRef()) | ||||
->setType($this->getSupportedBrowseType()); | ->setType($this->getSupportedBrowseType()); | ||||
} | } | ||||
} | } |
Content licensed under Creative Commons Attribution-ShareAlike 4.0 (CC-BY-SA) unless otherwise noted; code licensed under Apache 2.0 or other open source licenses. · CC BY-SA 4.0 · Apache 2.0