src/Parser/Parser.php
protected function parseFilter(Token $name, array $list = null): array
    {
        $args = [];
        
        if ($list !== null && \count($list) > 2) {
            $args = $list[1] ?? [];
        }
        
        return [
            $name->value,
            $args
        ];
    }
protected function parseFilter(Token $name, array $list = null): array
    {
        $args = [];
        
        if ($list !== null && \count($list) > 2) {
            $args = $list[1] ?? [];
        }
        
        return [
            $name->value,
            $args
        ];
    }
Filter ::= T_IDENTIFIER ( '(' ArgumentList? ')' )?