smiley %!s(int64=2) %!d(string=hai) anos
pai
achega
ff0315b9d5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/Output/QRString.php

+ 1 - 1
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);
 	}
 
 }