This commit is contained in:
2021-09-10 11:16:23 +08:00
parent 3cb94db156
commit 8fcdfc5fe3
2 changed files with 1 additions and 8 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ use Psr\Http\Message\ResponseInterface;
use Server\SInterface\DownloadInterface;
class Response implements ResponseInterface
class Response implements ResponseInterface, \Server\Constrict\ResponseInterface
{
@@ -21,13 +21,6 @@ interface ResponseInterface extends \Psr\Http\Message\ResponseInterface
public function file(string $path): DownloadInterface;
/**
* @param $responseData
* @return string|array|bool|int|null
*/
public function _toArray($responseData): string|array|null|bool|int;
/**
* @param $data
* @return ResponseInterface