/** * @return boolean */ public function __invoke(Node $node) { if ($node instanceof FunctionCallNode) { return (bool) $node->getArgumentList()->children([$this, 'hasArgument'])->count(); } return FALSE; }