original_string: public function convertUnserialized(Array $serialized, ContentStream $contentStream = NULL) {
      if (isset($contentStream)) {
        foreach ($serialized as $serializedEntry) {
          $entry = $this->unserializeEntry((object) $serializedEntry);
          $entry->setContentStream($contentStream);
        }
        return $contentStream;
      } else {
        $unserialized = array();
        foreach ($serialized as $serializedEntry) {
          $unserialized[] = $this->unserializeEntry($serializedEntry);
        }
      }
      
      return $unserialized;
    }
code: public function convertUnserialized(Array $serialized, ContentStream $contentStream = NULL) {
      if (isset($contentStream)) {
        foreach ($serialized as $serializedEntry) {
          $entry = $this->unserializeEntry((object) $serializedEntry);
          $entry->setContentStream($contentStream);
        }
        return $contentStream;
      } else {
        $unserialized = array();
        foreach ($serialized as $serializedEntry) {
          $unserialized[] = $this->unserializeEntry($serializedEntry);
        }
      }
      
      return $unserialized;
    }
code_tokens: public function convertUnserialized ( Array $ serialized , ContentStream $ contentStream = NULL ) { if ( isset ( $ contentStream ) ) { foreach ( $ serialized as $ serializedEntry ) { $ entry = $ this -> unserializeEntry ( ( object ) $ serializedEntry ) ; $ entry -> setContentStream ( $ contentStream ) ; } return $ contentStream ; } else { $ unserialized = array ( ) ; foreach ( $ serialized as $ serializedEntry ) { $ unserialized [ ] = $ this -> unserializeEntry ( $ serializedEntry ) ; } } return $ unserialized ; }
docstring: Convertes an serialized ContentStream to the real object structure
docstring_tokens: Convertes an serialized ContentStream to the real object structure