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)
151151 $ output .= '{} ' ;
152152 break ;
153153 case self ::TYPE_FILE :
154- $ output .= "' file.png' " ;
154+ $ output .= "InputFile.fromPath('/path/to/ file.png', 'file.png') " ;
155155 break ;
156156 }
157157 }
@@ -170,7 +170,7 @@ public function getParamExample(array $param)
170170 $ output .= "' {$ example }' " ;
171171 break ;
172172 case self ::TYPE_FILE :
173- $ output .= "' file.png' " ;
173+ $ output .= "InputFile.fromPath('/path/to/ file.png', 'file.png') " ;
174174 break ;
175175 }
176176 }
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ public function getParamExample(array $param)
154154 $ output .= '{} ' ;
155155 break ;
156156 case self ::TYPE_FILE :
157- $ output .= "' file.png' " ;
157+ $ output .= "InputFile.fromPath('/path/to/ file.png', 'file.png') " ;
158158 break ;
159159 }
160160 }
@@ -173,7 +173,7 @@ public function getParamExample(array $param)
173173 $ output .= "' {$ example }' " ;
174174 break ;
175175 case self ::TYPE_FILE :
176- $ output .= "' file.png' " ;
176+ $ output .= "InputFile.fromPath('/path/to/ file.png', 'file.png') " ;
177177 break ;
178178 }
179179 }
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ public function getParamExample(array $param)
316316 $ output .= '[] ' ;
317317 break ;
318318 case self ::TYPE_FILE :
319- $ output .= "'file.png' " ;
319+ $ output .= "InputFile::withPath( 'file.png') " ;
320320 break ;
321321 }
322322 }
@@ -337,7 +337,7 @@ public function getParamExample(array $param)
337337 $ output .= "' {$ example }' " ;
338338 break ;
339339 case self ::TYPE_FILE :
340- $ output .= "'file.png' " ;
340+ $ output .= "InputFile::withPath( 'file.png') " ;
341341 break ;
342342 }
343343 }
You can’t perform that action at this time.
0 commit comments