summaryrefslogtreecommitdiff
path: root/vendor/chillerlan/php-qrcode/src/QRCode.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/chillerlan/php-qrcode/src/QRCode.php')
-rwxr-xr-xvendor/chillerlan/php-qrcode/src/QRCode.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/chillerlan/php-qrcode/src/QRCode.php b/vendor/chillerlan/php-qrcode/src/QRCode.php
index 294a20d83..908030feb 100755
--- a/vendor/chillerlan/php-qrcode/src/QRCode.php
+++ b/vendor/chillerlan/php-qrcode/src/QRCode.php
@@ -307,7 +307,7 @@ class QRCode{
* a dummy
*/
public function isByte(string $data):bool{
- return !empty($data);
+ return $data !== '';
}
}