original_string: private function block($textblock)
      {
          $length = 0;
          foreach ($textblock as $line) {
              $n = strlen($line);
              if ($length < $n) {
                  $length = $n;
              }
          }
  
          foreach ($textblock as $i => $line) {
              $textblock[$i] .= str_repeat(' ', $length - strlen($line));
          }
  
          return $textblock;
      }
code: private function block($textblock)
      {
          $length = 0;
          foreach ($textblock as $line) {
              $n = strlen($line);
              if ($length < $n) {
                  $length = $n;
              }
          }
  
          foreach ($textblock as $i => $line) {
              $textblock[$i] .= str_repeat(' ', $length - strlen($line));
          }
  
          return $textblock;
      }
code_tokens: private function block ( $ textblock ) { $ length = 0 ; foreach ( $ textblock as $ line ) { $ n = strlen ( $ line ) ; if ( $ length < $ n ) { $ length = $ n ; } } foreach ( $ textblock as $ i => $ line ) { $ textblock [ $ i ] .= str_repeat ( ' ' , $ length - strlen ( $ line ) ) ; } return $ textblock ; }
docstring: Fill each line with spaces, so that all are equal in length.
  
  @param string[] $textblock
  @return string[]
docstring_tokens: Fill each line with spaces so that all are equal in length .