Commit b0ad711
committed
Use nullable return type for TypePart::getTypeNullable()
This is to prevent a fatal error when setNullable has not been called explicitly,
when generateNullableTypes is enabled.
Error was:
PHP Fatal error: Uncaught TypeError: Return value of
gossi\codegen\model\PhpParameter::getNullable() must be
of the type bool, null returned in
[…]/vendor/gossi/php-code-generator/src/model/parts/TypePart.php:751 parent b6316db commit b0ad711
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
0 commit comments