File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -151,7 +151,7 @@ public function getParamExample(array $param)
151
151
$ output .= '{} ' ;
152
152
break ;
153
153
case self ::TYPE_FILE :
154
- $ output .= "' file.png' " ;
154
+ $ output .= "InputFile.fromPath('/path/to/ file.png', 'file.png') " ;
155
155
break ;
156
156
}
157
157
}
@@ -170,7 +170,7 @@ public function getParamExample(array $param)
170
170
$ output .= "' {$ example }' " ;
171
171
break ;
172
172
case self ::TYPE_FILE :
173
- $ output .= "' file.png' " ;
173
+ $ output .= "InputFile.fromPath('/path/to/ file.png', 'file.png') " ;
174
174
break ;
175
175
}
176
176
}
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ public function getParamExample(array $param)
154
154
$ output .= '{} ' ;
155
155
break ;
156
156
case self ::TYPE_FILE :
157
- $ output .= "' file.png' " ;
157
+ $ output .= "InputFile.fromPath('/path/to/ file.png', 'file.png') " ;
158
158
break ;
159
159
}
160
160
}
@@ -173,7 +173,7 @@ public function getParamExample(array $param)
173
173
$ output .= "' {$ example }' " ;
174
174
break ;
175
175
case self ::TYPE_FILE :
176
- $ output .= "' file.png' " ;
176
+ $ output .= "InputFile.fromPath('/path/to/ file.png', 'file.png') " ;
177
177
break ;
178
178
}
179
179
}
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ public function getParamExample(array $param)
316
316
$ output .= '[] ' ;
317
317
break ;
318
318
case self ::TYPE_FILE :
319
- $ output .= "'file.png' " ;
319
+ $ output .= "InputFile::withPath( 'file.png') " ;
320
320
break ;
321
321
}
322
322
}
@@ -337,7 +337,7 @@ public function getParamExample(array $param)
337
337
$ output .= "' {$ example }' " ;
338
338
break ;
339
339
case self ::TYPE_FILE :
340
- $ output .= "'file.png' " ;
340
+ $ output .= "InputFile::withPath( 'file.png') " ;
341
341
break ;
342
342
}
343
343
}
You can’t perform that action at this time.
0 commit comments