From 0776006400efdcc1c02cfddb70eb1c3593644d81 Mon Sep 17 00:00:00 2001 From: codemasher Date: Wed, 18 Nov 2020 18:05:34 +0100 Subject: [PATCH] :shower: --- src/Data/QRMatrix.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Data/QRMatrix.php b/src/Data/QRMatrix.php index f2761391d..ea4198174 100755 --- a/src/Data/QRMatrix.php +++ b/src/Data/QRMatrix.php @@ -591,7 +591,7 @@ final class QRMatrix{ public function setLogoSpace(int $width, int $height, int $startX = null, int $startY = null):QRMatrix{ // for logos we operate in ECC H (30%) only - if($this->eclevel !== 0b10){ + if($this->eclevel !== QRCode::ECC_H){ throw new QRCodeDataException('ECC level "H" required to add logo space'); }