diff --git a/src/Generator/Schema.php b/src/Generator/Schema.php index c14af18..37fd58e 100644 --- a/src/Generator/Schema.php +++ b/src/Generator/Schema.php @@ -79,10 +79,12 @@ public static function generate(string $name, string $namespace, string $classNa $docBlock[] = '@\WyriHaximus\Hydrator\Attribute\HydrateArray(\\' . $namespace . '\\' . $schemaClassNameMap[spl_object_hash($property->items)] . '::class)'; } $t = str_replace([ + 'object', 'integer', 'any', 'boolean', ], [ + 'array', 'int', '', 'bool',