Skip to content

Commit

Permalink
fix(php): do not cast to string something that's already string (Open…
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod authored and kota65535 committed Feb 23, 2024
1 parent a5e14a3 commit d56809a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ class ObjectSerializer
* If it's a datetime object, format it in ISO8601
* If it's a boolean, convert it to "true" or "false".
*
* @param string|bool|\DateTime $value the value of the parameter
* @param float|int|bool|\DateTime $value the value of the parameter
*
* @return string the header string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public static function toFormValue($value)
* If it's a datetime object, format it in ISO8601
* If it's a boolean, convert it to "true" or "false".
*
* @param string|bool|\DateTime $value the value of the parameter
* @param float|int|bool|\DateTime $value the value of the parameter
*
* @return string the header string
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public static function toFormValue($value)
* If it's a datetime object, format it in ISO8601
* If it's a boolean, convert it to "true" or "false".
*
* @param string|bool|\DateTime $value the value of the parameter
* @param float|int|bool|\DateTime $value the value of the parameter
*
* @return string the header string
*/
Expand Down

0 comments on commit d56809a

Please sign in to comment.