diff --git a/src/QRCode.php b/src/QRCode.php index 676a1d7ae..6bc64f540 100644 --- a/src/QRCode.php +++ b/src/QRCode.php @@ -323,7 +323,7 @@ class QRCode{ $i += 2; } - return !($i < $len); + return $i >= $len; } /**