protected function isMagicConst(Node $node) { return $node instanceof Node\Scalar\MagicConst ? $node->getName() : null; }