Skip to content

Commit 826dc2a

Browse files
committed
fix: we don't use the type anywhere in this method
1 parent 96d7cea commit 826dc2a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/resources/handlebars/php/ObjectSerializer.mustache

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,11 @@ class ObjectSerializer
3333
* Serialize data
3434
*
3535
* @param mixed $data the data to serialize
36-
* @param string $type the SwaggerType of the data
3736
* @param string $format the format of the Swagger type of the data
3837
*
3938
* @return string|object serialized form of $data
4039
*/
41-
public static function sanitizeForSerialization($data, $type = null, $format = null)
40+
public static function sanitizeForSerialization($data, $format = null)
4241
{
4342
if (is_scalar($data) || null === $data) {
4443
return $data;

0 commit comments

Comments
 (0)