original_string: private function fix_row(array &$params, $row) {
          if ($row <= 1) {
              // Row 1 is always present.
              return 1;
          } else if (isset($params['theme_advanced_buttons' . $row])) {
              return $row;
          } else {
              return $this->count_button_rows($params);
          }
      }
code: private function fix_row(array &$params, $row) {
          if ($row <= 1) {
              // Row 1 is always present.
              return 1;
          } else if (isset($params['theme_advanced_buttons' . $row])) {
              return $row;
          } else {
              return $this->count_button_rows($params);
          }
      }
code_tokens: private function fix_row ( array & $ params , $ row ) { if ( $ row <= 1 ) { // Row 1 is always present. return 1 ; } else if ( isset ( $ params [ 'theme_advanced_buttons' . $ row ] ) ) { return $ row ; } else { return $ this -> count_button_rows ( $ params ) ; } }
docstring: Checks the row value is valid, fix if necessary.
  
  @param array $params TinyMCE init parameters array
  @param int $row Row to add button if exists
  @return int requested row if exists, lower number if does not exist.
docstring_tokens: Checks the row value is valid fix if necessary .