original_string: public function resolveType(JobTypeInterface $type)
      {
          $parentType = $type->getParent();
  
          if ($parentType instanceof JobTypeInterface) {
              $parentType = $this->resolveType($parentType);
          } elseif (null !== $parentType) {
              $parentType = $this->registry->getType($parentType);
          }
  
          return $this->createResolvedType($type, $parentType);
      }
code: public function resolveType(JobTypeInterface $type)
      {
          $parentType = $type->getParent();
  
          if ($parentType instanceof JobTypeInterface) {
              $parentType = $this->resolveType($parentType);
          } elseif (null !== $parentType) {
              $parentType = $this->registry->getType($parentType);
          }
  
          return $this->createResolvedType($type, $parentType);
      }
code_tokens: public function resolveType ( JobTypeInterface $ type ) { $ parentType = $ type -> getParent ( ) ; if ( $ parentType instanceof JobTypeInterface ) { $ parentType = $ this -> resolveType ( $ parentType ) ; } elseif ( null !== $ parentType ) { $ parentType = $ this -> registry -> getType ( $ parentType ) ; } return $ this -> createResolvedType ( $ type , $ parentType ) ; }
docstring: Creates wrapper for combination of JobType and JobConnector
  
  @param JobTypeInterface $type
  
  @return ResolvedJob
docstring_tokens: Creates wrapper for combination of JobType and JobConnector