public function isCandidate(Tokens $tokens)
    {
        return $tokens->isTokenKindFound(T_FUNCTION) && (
            \count((new NamespacesAnalyzer())->getDeclarations($tokens)) ||
            \count((new NamespaceUsesAnalyzer())->getDeclarationsFromTokens($tokens))
        );
    }
public function isCandidate(Tokens $tokens)
    {
        return $tokens->isTokenKindFound(T_FUNCTION) && (
            \count((new NamespacesAnalyzer())->getDeclarations($tokens)) ||
            \count((new NamespaceUsesAnalyzer())->getDeclarationsFromTokens($tokens))
        );
    }
public function isCandidate ( Tokens $ tokens ) { return $ tokens -> isTokenKindFound ( T_FUNCTION ) && ( \ count ( ( new NamespacesAnalyzer ( ) ) -> getDeclarations ( $ tokens ) ) || \ count ( ( new NamespaceUsesAnalyzer ( ) ) -> getDeclarationsFromTokens ( $ tokens ) ) ) ; }
{@inheritdoc}
{