From ff0315b9d587420d4de1925862f1c5d203b2f823 Mon Sep 17 00:00:00 2001 From: smiley Date: Thu, 13 Jul 2023 23:29:27 +0200 Subject: [PATCH] :octocat: --- src/Output/QRString.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Output/QRString.php b/src/Output/QRString.php index 1bd09d293..cb84ec62b 100644 --- a/src/Output/QRString.php +++ b/src/Output/QRString.php @@ -84,7 +84,7 @@ class QRString extends QROutputAbstract{ * JSON output */ protected function json():string{ - return json_encode($this->matrix->getMatrix()); + return json_encode($this->matrix->getMatrix(), JSON_THROW_ON_ERROR); } }