Skip to content

Commit

Permalink
Fix return type
Browse files Browse the repository at this point in the history
  • Loading branch information
thekid committed Dec 18, 2022
1 parent da03252 commit 6c1fd75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/php/web/handler/FilesFrom.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ private function copy($out, $file, $range) {
* @param web.Response $response
* @param ?io.File|io.Path|string $target
* @param ?string $mimeType
* @return void
* @return iterable
*/
public function serve($request, $response, $target, $mimeType= null) {
if (null === $target || ($file= $target instanceof File ? $target : new File($target)) && !$file->exists()) {
Expand Down

0 comments on commit 6c1fd75

Please sign in to comment.