Skip to content

Commit ac0fcb7

Browse files
committed
Fix method definition
1 parent 6e94da2 commit ac0fcb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ValueObject/ArrayFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ public function classBuilder(ArrayType $typeDefinition): ClassBuilder
201201
return $this->classBuilderFromNative($name, ...$typeDefinition->items());
202202
}
203203

204-
private function determineType(string $name, TypeSet ...$typeSets): TypeDefinition
204+
private function determineType(string $name, TypeSet ...$typeSets): ?TypeDefinition
205205
{
206206
if (\count($typeSets) !== 1) {
207207
throw new \RuntimeException('Can only handle one JSON type');

0 commit comments

Comments
 (0)