Skip to content

Commit 9d38069

Browse files
authored
Merge pull request #34 from php-api-clients/null-is-not-a-valid-type
Null is not a valid type
2 parents dea16e7 + 9d2eef9 commit 9d38069

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Generator/Schema.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,11 +100,13 @@ public static function generate(string $name, string $namespace, string $classNa
100100
'object',
101101
'integer',
102102
'any',
103+
'null',
103104
'boolean',
104105
], [
105106
'array',
106107
'int',
107108
'',
109+
'',
108110
'bool',
109111
], $property->type);
110112
if ($t !== '') {

0 commit comments

Comments
 (0)