src/Fixer/ControlStructure/NoUnneededControlParenthesesFixer.php
public function isCandidate(Tokens $tokens)
    {
        $types = [];

        foreach (self::$loops as $loop) {
            $types[] = (array) $loop['lookupTokens'];
        }
        $types = array_merge(...$types);

        return $tokens->isAnyTokenKindsFound($types);
    }
public function isCandidate(Tokens $tokens)
    {
        $types = [];

        foreach (self::$loops as $loop) {
            $types[] = (array) $loop['lookupTokens'];
        }
        $types = array_merge(...$types);

        return $tokens->isAnyTokenKindsFound($types);
    }
public function isCandidate ( Tokens $ tokens ) { $ types = [ ] ; foreach ( self :: $ loops as $ loop ) { $ types [ ] = ( array ) $ loop [ 'lookupTokens' ] ; } $ types = array_merge ( ... $ types ) ; return $ tokens -> isAnyTokenKindsFound ( $ types ) ; }
{@inheritdoc}
{