mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-08-30 03:58:28 +00:00
🚿
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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
@@ -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
|
||||
*/
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user