1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-12-24 06:20:56 +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:
Joshua Spence 2014-07-25 15:59:17 +10:00
parent 8ce35e6b67
commit 1450c0e8d6

View file

@ -26,7 +26,6 @@ final class ConduitQueryConduitAPIMethod extends ConduitAPIMethod {
$classes = id(new PhutilSymbolLoader())
->setAncestorClass('ConduitAPIMethod')
->setType('class')
->setConcreteOnly(true)
->loadObjects();
$names_to_params = array();