Skip to content

Commit d44aa82

Browse files
committed
Merge pull request #1950 from akkie/master
Namespace is missing for SplFileObject reference
2 parents a550eec + 618351c commit d44aa82

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/swagger-codegen/src/main/resources/php/ObjectSerializer.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ class ObjectSerializer
153153
*/
154154
public function toFormValue($value)
155155
{
156-
if ($value instanceof SplFileObject) {
156+
if ($value instanceof \SplFileObject) {
157157
return $value->getRealPath();
158158
} else {
159159
return $this->toString($value);

0 commit comments

Comments
 (0)