original_string: public static function formatGmtOffset($offset) {
          $hours = intval($offset / 3600);
          $minutes = abs(intval($offset % 3600 / 60));
          return 'GMT' . ($offset ? sprintf('%+03d:%02d', $hours, $minutes) : '');
      }
code: public static function formatGmtOffset($offset) {
          $hours = intval($offset / 3600);
          $minutes = abs(intval($offset % 3600 / 60));
          return 'GMT' . ($offset ? sprintf('%+03d:%02d', $hours, $minutes) : '');
      }
code_tokens: public static function formatGmtOffset ( $ offset ) { $ hours = intval ( $ offset / 3600 ) ; $ minutes = abs ( intval ( $ offset % 3600 / 60 ) ) ; return 'GMT' . ( $ offset ? sprintf ( '%+03d:%02d' , $ hours , $ minutes ) : '' ) ; }
docstring: Formats GMT offset to string
  @param string $offset
  @return string
docstring_tokens: Formats GMT offset to string