diff --git a/composer.lock b/composer.lock index 5b0c1d1..9b37087 100644 --- a/composer.lock +++ b/composer.lock @@ -166,16 +166,16 @@ }, { "name": "eventsauce/object-hydrator", - "version": "1.1.0", + "version": "1.1.2", "source": { "type": "git", "url": "https://github.com/EventSaucePHP/ObjectHydrator.git", - "reference": "77683528dc3b96a4edfb8c864760748ae7fc0817" + "reference": "ea3d323c41384f77c0e8eeb5ec882306930ec0c0" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/EventSaucePHP/ObjectHydrator/zipball/77683528dc3b96a4edfb8c864760748ae7fc0817", - "reference": "77683528dc3b96a4edfb8c864760748ae7fc0817", + "url": "https://api.github.com/repos/EventSaucePHP/ObjectHydrator/zipball/ea3d323c41384f77c0e8eeb5ec882306930ec0c0", + "reference": "ea3d323c41384f77c0e8eeb5ec882306930ec0c0", "shasum": "" }, "require": { @@ -218,7 +218,7 @@ ], "support": { "issues": "https://github.com/EventSaucePHP/ObjectHydrator/issues", - "source": "https://github.com/EventSaucePHP/ObjectHydrator/tree/1.1.0" + "source": "https://github.com/EventSaucePHP/ObjectHydrator/tree/1.1.2" }, "funding": [ { @@ -226,7 +226,7 @@ "type": "github" } ], - "time": "2022-12-29T20:17:25+00:00" + "time": "2023-02-05T15:06:44+00:00" }, { "name": "fig/http-message-util", diff --git a/src/Generator/Schema.php b/src/Generator/Schema.php index b195ebb..5278b2b 100644 --- a/src/Generator/Schema.php +++ b/src/Generator/Schema.php @@ -140,21 +140,18 @@ private static function fillUpSchema(string $name, string $namespace, string $cl // $constructDocBlock[] = '@param array<\\' . $rootNamespace . '\\' . $schemaRegistry->get($property->items, $className . '\\' . (new Convert($propertyName))->toPascal()) . '>'; $constructDocBlock[] = '@param array<\\' . $rootNamespace . '\\' . $schemaRegistry->get($property->items, $className . '\\' . (new Convert($propertyName))->toPascal()) . '> $' . $propertyName; // } elseif ($property->items->type === 'object') { -// yield from self::generate($name . '::' . $propertyName, $namespace . '\\' . $className, (new Convert($propertyName))->toPascal(), $property->items, $schemaClassNameMap, $rootNamespace); // $propertyDocBlock[] = '@var array<\\' . $namespace . '\\' . $className . '\\' . (new Convert($propertyName))->toPascal() . '>'; // } } if (is_string($propertyType)) { $propertyType = str_replace([ - 'object', 'integer', 'number', 'any', 'null', 'boolean', ], [ - 'array', 'int', 'int', '',