From 9d7c7835e8ffa95c81c1c9090a0a8231bf7714f4 Mon Sep 17 00:00:00 2001 From: Adam Kadlec Date: Thu, 2 Apr 2020 12:52:25 +0200 Subject: [PATCH] Fixing qa --- src/Http/Response.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Http/Response.php b/src/Http/Response.php index 4674c51..970dcbd 100644 --- a/src/Http/Response.php +++ b/src/Http/Response.php @@ -303,7 +303,7 @@ public function withBody(StreamInterface $body): self * @param string $text * @param int $statusCode * - * @return ResponseInterface + * @return self */ public static function text(string $text, int $statusCode = 200): self { @@ -314,7 +314,7 @@ public static function text(string $text, int $statusCode = 200): self * @param string $html * @param int $statusCode * - * @return ResponseInterface + * @return self */ public static function html(string $html, int $statusCode = 200): self { @@ -325,7 +325,7 @@ public static function html(string $html, int $statusCode = 200): self * @param string $xml * @param int $statusCode * - * @return ResponseInterface + * @return self */ public static function xml(string $xml, int $statusCode = 200): self { @@ -341,7 +341,7 @@ public static function xml(string $xml, int $statusCode = 200): self * @param int $statusCode * @param int $encodeOptions * - * @return ResponseInterface + * @return self */ public static function json(array $data, int $statusCode = 200, int $encodeOptions = 0): self { @@ -359,7 +359,7 @@ public static function json(array $data, int $statusCode = 200, int $encodeOptio * @param string $uri * @param int $status * - * @return ResponseInterface + * @return self */ public static function redirect(string $uri, int $status = 303): self { @@ -379,7 +379,7 @@ public static function redirect(string $uri, int $status = 303): self /** * @param StreamInterface|null $body * - * @return ResponseInterface + * @return self */ public static function notFound(?StreamInterface $body = null): self {