smiley 3 lat temu
rodzic
commit
d6f1500ee1

+ 0 - 3
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);

+ 2 - 2
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:

+ 1 - 1
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
 	 */

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