original_string: public static function get_bands_labels($bands, $bandwidth, $quiz) {
          $bandlabels = [];
          for ($i = 1; $i <= $bands; $i++) {
              $bandlabels[] = quiz_format_grade($quiz, ($i - 1) * $bandwidth) . ' - ' . quiz_format_grade($quiz, $i * $bandwidth);
          }
          return $bandlabels;
      }
code: public static function get_bands_labels($bands, $bandwidth, $quiz) {
          $bandlabels = [];
          for ($i = 1; $i <= $bands; $i++) {
              $bandlabels[] = quiz_format_grade($quiz, ($i - 1) * $bandwidth) . ' - ' . quiz_format_grade($quiz, $i * $bandwidth);
          }
          return $bandlabels;
      }
code_tokens: public static function get_bands_labels ( $ bands , $ bandwidth , $ quiz ) { $ bandlabels = [ ] ; for ( $ i = 1 ; $ i <= $ bands ; $ i ++ ) { $ bandlabels [ ] = quiz_format_grade ( $ quiz , ( $ i - 1 ) * $ bandwidth ) . ' - ' . quiz_format_grade ( $ quiz , $ i * $ bandwidth ) ; } return $ bandlabels ; }
docstring: Get the bands labels.
  
  @param int $bands The number of bands.
  @param int $bandwidth The band width.
  @param object $quiz The quiz object.
  @return string[] The labels.
docstring_tokens: Get the bands labels .