Differential D25030 Diff 82 src/lint/linter/xhpast/rules/ArcanistUnexpectedReturnValueXHPASTLinterRule.php
Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/xhpast/rules/ArcanistUnexpectedReturnValueXHPASTLinterRule.php
Context not available. | |||||
->getChildOfType(2, 'n_STRING') | ->getChildOfType(2, 'n_STRING') | ||||
->getConcreteString(); | ->getConcreteString(); | ||||
switch (strtolower($method_name)) { | switch (@strtolower($method_name)) { | ||||
case '__construct': | case '__construct': | ||||
case '__destruct': | case '__destruct': | ||||
$returns = $method->selectDescendantsOfType('n_RETURN'); | $returns = $method->selectDescendantsOfType('n_RETURN'); | ||||
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