This commit is contained in:
as2252258@163.com
2021-09-24 02:23:24 +08:00
parent b9a1178fbe
commit 3d9bea7fb6
31 changed files with 110 additions and 78 deletions
+3 -3
View File
@@ -5,7 +5,7 @@ namespace Server\Constrict;
use JetBrains\PhpStorm\Pure;
use Http\Message\Response;
use Server\SInterface\DownloadInterface;
use Server\SInterface\OnDownloadInterface;
/**
* @mixin Response
@@ -16,9 +16,9 @@ interface ResponseInterface extends \Psr\Http\Message\ResponseInterface
/**
* @param string $path
* @return DownloadInterface
* @return OnDownloadInterface
*/
public function file(string $path): DownloadInterface;
public function file(string $path): OnDownloadInterface;
/**