original_string: protected static function fetch($sql, $params = []): array
      {
          $self = static::getInstance();
          return DbProxy::fetchObjects($sql, $params, $self->rowClass);
      }
code: protected static function fetch($sql, $params = []): array
      {
          $self = static::getInstance();
          return DbProxy::fetchObjects($sql, $params, $self->rowClass);
      }
code_tokens: protected static function fetch ( $ sql , $ params = [ ] ) : array { $ self = static :: getInstance ( ) ; return DbProxy :: fetchObjects ( $ sql , $ params , $ self -> rowClass ) ; }
docstring: Fetching rows by SQL query
  
  @param  string $sql    SQL query with placeholders
  @param  array  $params Params for query placeholders
  
  @return RowInterface[] of rows results in FETCH_CLASS mode
docstring_tokens: Fetching rows by SQL query