private function createNullableType($type) { $type = $this->registry->resolveType($type); return $this->registry->createNullableType($type); }