Skip to content

Commit 445b5a7

Browse files
authored
Merge pull request #52 from php-api-clients/translate-number-to-int
Translate number to int
2 parents 6ed2ec9 + 19616a1 commit 445b5a7

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
@@ -120,12 +120,14 @@ private static function fillUpSchema(string $name, string $namespace, string $cl
120120
$t = str_replace([
121121
'object',
122122
'integer',
123+
'number',
123124
'any',
124125
'null',
125126
'boolean',
126127
], [
127128
'array',
128129
'int',
130+
'int',
129131
'',
130132
'',
131133
'bool',

0 commit comments

Comments
 (0)