mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-20 04:20:55 +01:00
Omit unnecessary function call
Summary: As mentioned on rP8ce35e6b67e7e2a81b274bab7a6dd19dedb4df06, `setConcreteOnly(true)` can be omitted since (lacking magical powers) `loadObjects()` will always only instantiate concrete objects. Test Plan: N/A Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D10050
This commit is contained in:
parent
8ce35e6b67
commit
1450c0e8d6
1 changed files with 0 additions and 1 deletions
|
@ -26,7 +26,6 @@ final class ConduitQueryConduitAPIMethod extends ConduitAPIMethod {
|
||||||
$classes = id(new PhutilSymbolLoader())
|
$classes = id(new PhutilSymbolLoader())
|
||||||
->setAncestorClass('ConduitAPIMethod')
|
->setAncestorClass('ConduitAPIMethod')
|
||||||
->setType('class')
|
->setType('class')
|
||||||
->setConcreteOnly(true)
|
|
||||||
->loadObjects();
|
->loadObjects();
|
||||||
|
|
||||||
$names_to_params = array();
|
$names_to_params = array();
|
||||||
|
|
Loading…
Reference in a new issue