File tree Expand file tree Collapse file tree
modules/openapi-generator/src/main/resources/php
samples/client/petstore/php Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -324,7 +324,7 @@ class ObjectSerializer
324324 *
325325 * @return array [key => value] of formdata
326326 */
327- public static function toFormValue(string $key, mixed $value)
327+ public static function toFormValue(string $key, $value)
328328 {
329329 if ($value instanceof \S plFileObject) {
330330 return [$key => $value->getRealPath()];
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ public static function toHeaderValue($value)
333333 *
334334 * @return array [key => value] of formdata
335335 */
336- public static function toFormValue (string $ key , mixed $ value )
336+ public static function toFormValue (string $ key , $ value )
337337 {
338338 if ($ value instanceof \SplFileObject) {
339339 return [$ key => $ value ->getRealPath ()];
Original file line number Diff line number Diff line change @@ -333,7 +333,7 @@ public static function toHeaderValue($value)
333333 *
334334 * @return array [key => value] of formdata
335335 */
336- public static function toFormValue (string $ key , mixed $ value )
336+ public static function toFormValue (string $ key , $ value )
337337 {
338338 if ($ value instanceof \SplFileObject) {
339339 return [$ key => $ value ->getRealPath ()];
You can’t perform that action at this time.
0 commit comments