From d6f1500ee1992cf7af25962d80c2dda95e9132fa Mon Sep 17 00:00:00 2001 From: smiley Date: Thu, 28 Jul 2022 02:19:41 +0200 Subject: [PATCH] :shower: --- src/Data/QRMatrix.php | 3 --- src/Output/QROutputAbstract.php | 4 ++-- src/QRCode.php | 2 +- src/QROptionsTrait.php | 2 +- 4 files changed, 4 insertions(+), 7 deletions(-) diff --git a/src/Data/QRMatrix.php b/src/Data/QRMatrix.php index 87bc1a344..c7eca7e4f 100755 --- a/src/Data/QRMatrix.php +++ b/src/Data/QRMatrix.php @@ -252,9 +252,6 @@ class QRMatrix{ /** * Checks whether a module is true (dark) or false (light) - * - * true => $value & 0x800 === 0x800 - * false => $value & 0x800 === 0 */ public function check(int $x, int $y):bool{ return $this->checkType($x, $y, $this::IS_DARK); diff --git a/src/Output/QROutputAbstract.php b/src/Output/QROutputAbstract.php index e2cb670c8..985d59829 100644 --- a/src/Output/QROutputAbstract.php +++ b/src/Output/QROutputAbstract.php @@ -108,7 +108,7 @@ abstract class QROutputAbstract implements QROutputInterface{ abstract protected function getModuleValue($value); /** - * Returns a defualt value for either dark or light modules (return value depends on the output module) + * Returns a default value for either dark or light modules (return value depends on the output module) * * @return mixed */ @@ -141,7 +141,7 @@ abstract class QROutputAbstract implements QROutputInterface{ } /** - * collects the modules per QRMatrix::M_* type and runs a $transform functio on each module and + * collects the modules per QRMatrix::M_* type and runs a $transform function on each module and * returns an array with the transformed modules * * The transform callback is called with the following parameters: diff --git a/src/QRCode.php b/src/QRCode.php index adf724a7c..2fca74a12 100755 --- a/src/QRCode.php +++ b/src/QRCode.php @@ -190,7 +190,7 @@ class QRCode{ } /** - * Renders a QR Code for the given $data and QROptions + * Renders a QR Code for the given $data and QROptions, saves $file optionally * * @return mixed */ diff --git a/src/QROptionsTrait.php b/src/QROptionsTrait.php index db4b4d5be..b95227095 100644 --- a/src/QROptionsTrait.php +++ b/src/QROptionsTrait.php @@ -299,7 +299,7 @@ trait QROptionsTrait{ protected ?array $moduleValues = null; /** - * use Imaagick (if available) when reading QR Codes + * use Imagick (if available) when reading QR Codes */ protected bool $readerUseImagickIfAvailable = false;