private function cannotCheck($type, $name, $args)
    {
        if (isset($args[0]) && (is_object($args[0]) && get_class($args[0]) === 'Closure')) {
            $type = 'closure';
            $args[1] = $args[0];
        } elseif (is_string($args[0]) && strpos($args[0], '::') !== false) {
            $type = 'method';
        }

        $this->check('not-equals', $type, $name, $args);
    }