Skip to content

Commit d6f1500

Browse files
committed
🚿
1 parent 20de869 commit d6f1500

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

src/Data/QRMatrix.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,6 @@ public function checkTypeNotIn(int $x, int $y, array $M_TYPES):bool{
252252

253253
/**
254254
* Checks whether a module is true (dark) or false (light)
255-
*
256-
* true => $value & 0x800 === 0x800
257-
* false => $value & 0x800 === 0
258255
*/
259256
public function check(int $x, int $y):bool{
260257
return $this->checkType($x, $y, $this::IS_DARK);

src/Output/QROutputAbstract.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ abstract protected function moduleValueIsValid($value):bool;
108108
abstract protected function getModuleValue($value);
109109

110110
/**
111-
* Returns a defualt value for either dark or light modules (return value depends on the output module)
111+
* Returns a default value for either dark or light modules (return value depends on the output module)
112112
*
113113
* @return mixed
114114
*/
@@ -141,7 +141,7 @@ protected function saveToFile(string $data, string $file):void{
141141
}
142142

143143
/**
144-
* collects the modules per QRMatrix::M_* type and runs a $transform functio on each module and
144+
* collects the modules per QRMatrix::M_* type and runs a $transform function on each module and
145145
* returns an array with the transformed modules
146146
*
147147
* The transform callback is called with the following parameters:

src/QRCode.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ public function __construct(SettingsContainerInterface $options = null){
190190
}
191191

192192
/**
193-
* Renders a QR Code for the given $data and QROptions
193+
* Renders a QR Code for the given $data and QROptions, saves $file optionally
194194
*
195195
* @return mixed
196196
*/

src/QROptionsTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ trait QROptionsTrait{
299299
protected ?array $moduleValues = null;
300300

301301
/**
302-
* use Imaagick (if available) when reading QR Codes
302+
* use Imagick (if available) when reading QR Codes
303303
*/
304304
protected bool $readerUseImagickIfAvailable = false;
305305

0 commit comments

Comments
 (0)