original_string: protected function _getMaxLength($collection)
      {
          $max = 0;
          foreach ($collection as $item) {
              $max = (strlen($item->name()) > $max) ? strlen($item->name()) : $max;
          }
  
          return $max;
      }
code: protected function _getMaxLength($collection)
      {
          $max = 0;
          foreach ($collection as $item) {
              $max = (strlen($item->name()) > $max) ? strlen($item->name()) : $max;
          }
  
          return $max;
      }
code_tokens: protected function _getMaxLength ( $ collection ) { $ max = 0 ; foreach ( $ collection as $ item ) { $ max = ( strlen ( $ item -> name ( ) ) > $ max ) ? strlen ( $ item -> name ( ) ) : $ max ; } return $ max ; }
docstring: Iterate over a collection and find the longest named thing.
  
  @param array $collection The collection to find a max length of.
  @return int
docstring_tokens: Iterate over a collection and find the longest named thing .