original_string: protected function fillWithEmptyCells($table_row,$tag_row)
    {
      $html = '';
  
      if( ! ($table_row instanceof TableLine) )
      {
        throw new \InvalidArgumentException;
      }
  
      $length_row = $table_row->getLength();
      $diff = $this->max_length_rows - $length_row;
  
      if( $diff > 0 )
      {
        // add empty cells
        foreach( range(1,$diff) as $key)
        {
          $html.="\t\t\t<{$tag_row}></{$tag_row}>\n";
        }
      }
  
      $html.="\t\t</tr>\n";
  
      return $html;
    }
code: protected function fillWithEmptyCells($table_row,$tag_row)
    {
      $html = '';
  
      if( ! ($table_row instanceof TableLine) )
      {
        throw new \InvalidArgumentException;
      }
  
      $length_row = $table_row->getLength();
      $diff = $this->max_length_rows - $length_row;
  
      if( $diff > 0 )
      {
        // add empty cells
        foreach( range(1,$diff) as $key)
        {
          $html.="\t\t\t<{$tag_row}></{$tag_row}>\n";
        }
      }
  
      $html.="\t\t</tr>\n";
  
      return $html;
    }
code_tokens: protected function fillWithEmptyCells ( $ table_row , $ tag_row ) { $ html = '' ; if ( ! ( $ table_row instanceof TableLine ) ) { throw new \ InvalidArgumentException ; } $ length_row = $ table_row -> getLength ( ) ; $ diff = $ this -> max_length_rows - $ length_row ; if ( $ diff > 0 ) { // add empty cells foreach ( range ( 1 , $ diff ) as $ key ) { $ html .= "\t\t\t<{$tag_row}></{$tag_row}>\n" ; } } $ html .= "\t\t</tr>\n" ; return $ html ; }
docstring: Fill the rest of the row with empty cells
  
  @throws  InvalidArgumentException
  @return String $html
docstring_tokens: Fill the rest of the row with empty cells