forked from loafle/openapi-generator-original
[php] make ObjectSerializer::toString actually return a string (#12158)
This commit is contained in:
committed by
GitHub
parent
fbdd3c3e22
commit
8a83a34bb4
@@ -269,7 +269,7 @@ class ObjectSerializer
|
||||
} elseif (is_bool($value)) {
|
||||
return $value ? 'true' : 'false';
|
||||
} else {
|
||||
return $value;
|
||||
return (string) $value;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user