From 08611789a627f66981800d1212ec93831342f03f Mon Sep 17 00:00:00 2001 From: Nicolas Guilloux Date: Wed, 29 Sep 2021 14:46:33 +0200 Subject: [PATCH] Fix json content return type --- WebTest/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebTest/Response.php b/WebTest/Response.php index f4b9001..3d93283 100644 --- a/WebTest/Response.php +++ b/WebTest/Response.php @@ -28,7 +28,7 @@ public function __construct(SymfonyResponse $response) } } - public function getJsonContent(bool $assoc = true): array + public function getJsonContent(bool $assoc = true) { return \json_decode( $this->getContent(),