original_string: public function fetchRow(
              string $sql,
              array $values = [],
              int $fetchMode = null,
              array $driverOptions = []
      ): array {
          return $this->dbConnection->prepare($sql)
                  ->execute($values)
                  ->fetch($fetchMode, $driverOptions);
      }
code: public function fetchRow(
              string $sql,
              array $values = [],
              int $fetchMode = null,
              array $driverOptions = []
      ): array {
          return $this->dbConnection->prepare($sql)
                  ->execute($values)
                  ->fetch($fetchMode, $driverOptions);
      }
code_tokens: public function fetchRow ( string $ sql , array $ values = [ ] , int $ fetchMode = null , array $ driverOptions = [ ] ) : array { return $ this -> dbConnection -> prepare ( $ sql ) -> execute ( $ values ) -> fetch ( $ fetchMode , $ driverOptions ) ; }
docstring: returns first result row for given sql query
  
  @param   string  $sql            sql query to fetch data with
  @param   array   $values         map of values in case $sql contains a prepared statement
  @param   int     $fetchMode      optional  the mode to use for fetching the data
  @param   array   $driverOptions  optional  driver specific arguments
  @return  array
  @since   2.4.0
docstring_tokens: returns first result row for given sql query