mirror of
https://github.com/chillerlan/php-qrcode.git
synced 2026-10-08 04:46:04 +00:00
💄 code style fixes
This commit is contained in:
@@ -58,7 +58,7 @@ class RandomDotsSVGOutput extends QRMarkupSVG{
|
||||
|
||||
// randomly assign another $M_TYPE_LAYER for the given types
|
||||
// note that the layer id has to be an integer value,
|
||||
// ideally outside of the several bitmask values
|
||||
// ideally outside the several bitmask values
|
||||
if($M_TYPE_LAYER === (QRMatrix::M_DATA | QRMatrix::IS_DARK)){
|
||||
$M_TYPE_LAYER = array_rand($this->options->dotColors);
|
||||
}
|
||||
@@ -134,17 +134,17 @@ $options = new RandomDotsOptions([
|
||||
|
||||
'connectPaths' => true,
|
||||
'excludeFromConnect' => [
|
||||
QRMatrix::M_FINDER|QRMatrix::IS_DARK,
|
||||
QRMatrix::M_FINDER_DOT|QRMatrix::IS_DARK,
|
||||
QRMatrix::M_ALIGNMENT|QRMatrix::IS_DARK,
|
||||
(QRMatrix::M_FINDER|QRMatrix::IS_DARK),
|
||||
(QRMatrix::M_FINDER_DOT|QRMatrix::IS_DARK),
|
||||
(QRMatrix::M_ALIGNMENT|QRMatrix::IS_DARK),
|
||||
],
|
||||
|
||||
'drawCircularModules' => true,
|
||||
'circleRadius' => 0.4,
|
||||
'keepAsSquare' => [
|
||||
QRMatrix::M_FINDER|QRMatrix::IS_DARK,
|
||||
QRMatrix::M_FINDER_DOT|QRMatrix::IS_DARK,
|
||||
QRMatrix::M_ALIGNMENT|QRMatrix::IS_DARK,
|
||||
(QRMatrix::M_FINDER|QRMatrix::IS_DARK),
|
||||
(QRMatrix::M_FINDER_DOT|QRMatrix::IS_DARK),
|
||||
(QRMatrix::M_ALIGNMENT|QRMatrix::IS_DARK),
|
||||
],
|
||||
|
||||
]);
|
||||
|
||||
Reference in New Issue
Block a user