abstract public function checkSwitchToken($token)
abstract public function checkSwitchToken($token)
Parameters
XHPASTToken | $token |
Return
bool | True if token safely ends the block. |
You can extend this class and set xhpast.switchhook in your .arclint to have an opportunity to override results for linting switch statements.
XHPASTToken | $token |
bool | True if token safely ends the block. |