Changeset View
Changeset View
Standalone View
Standalone View
src/applications/conduit/query/PhabricatorConduitMethodQuery.php
Context not available. | |||||
foreach ($methods as $key => $method) { | foreach ($methods as $key => $method) { | ||||
$haystack = $method->getAPIMethodName(); | $haystack = $method->getAPIMethodName(); | ||||
$haystack = phutil_utf8_strtolower($haystack); | $haystack = phutil_utf8_strtolower($haystack); | ||||
if (strpos($haystack, $needle) === false) { | if (@strpos($haystack, $needle) === false) { | ||||
unset($methods[$key]); | unset($methods[$key]); | ||||
} | } | ||||
} | } | ||||
Context not available. |
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