mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-28 02:57:57 +00:00
:octocat:
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user