diff --git a/http-message/Response.php b/http-message/Response.php index 54e41897..dab20636 100644 --- a/http-message/Response.php +++ b/http-message/Response.php @@ -9,7 +9,7 @@ use Psr\Http\Message\ResponseInterface; use Server\SInterface\DownloadInterface; -class Response implements ResponseInterface +class Response implements ResponseInterface, \Server\Constrict\ResponseInterface { diff --git a/http-server/Constrict/ResponseInterface.php b/http-server/Constrict/ResponseInterface.php index 9c094f16..abd7ceee 100644 --- a/http-server/Constrict/ResponseInterface.php +++ b/http-server/Constrict/ResponseInterface.php @@ -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