original_string: public function getFilter(string $fieldName): ?Condition
      {
          [$name, $filters] = $this->getArrayAndKeyName($fieldName, 'filters');
  
          return array_first($filters, function ($filter) use ($name) {
              return $filter->getName() === $name;
          });
      }
code: public function getFilter(string $fieldName): ?Condition
      {
          [$name, $filters] = $this->getArrayAndKeyName($fieldName, 'filters');
  
          return array_first($filters, function ($filter) use ($name) {
              return $filter->getName() === $name;
          });
      }
code_tokens: public function getFilter ( string $ fieldName ) : ? Condition { [ $ name , $ filters ] = $ this -> getArrayAndKeyName ( $ fieldName , 'filters' ) ; return array_first ( $ filters , function ( $ filter ) use ( $ name ) { return $ filter -> getName ( ) === $ name ; } ) ; }
docstring: It returns single filter by field name
  
  @param string $fieldName Condition field name
  
  @throws InvalidArgumentException
  
  @return Condition
docstring_tokens: It returns single filter by field name