From f3827a1a83486c98db2fc9b1cf7c4400999c9fb9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Fri, 10 Sep 2021 16:04:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-message/ServerRequest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/http-message/ServerRequest.php b/http-message/ServerRequest.php index 91e7be79..48a84a36 100644 --- a/http-message/ServerRequest.php +++ b/http-message/ServerRequest.php @@ -80,13 +80,11 @@ class ServerRequest extends Request implements ServerRequestInterface ->withParsedBody(function (StreamInterface $stream, ?array $posts) use ($contentType) { try { $content = Parse::data($stream->getContents(), $contentType); - var_dump($content); if (!empty($content)) { return $content; } return $posts; } catch (\Throwable $throwable) { - var_dump($throwable->getMessage()); return $posts; } });