@@ -164,7 +164,7 @@ discard block |
||
164 | 164 | |
165 | 165 | if($x <= $this->moduleCount - 7){ |
166 | 166 | if( |
167 | - $this->matrix->check($x , $y) |
|
167 | + $this->matrix->check($x , $y) |
|
168 | 168 | && !$this->matrix->check($x + 1, $y) |
169 | 169 | && $this->matrix->check($x + 2, $y) |
170 | 170 | && $this->matrix->check($x + 3, $y) |
@@ -178,7 +178,7 @@ discard block |
||
178 | 178 | |
179 | 179 | if($y <= $this->moduleCount - 7){ |
180 | 180 | if( |
181 | - $this->matrix->check($x, $y) |
|
181 | + $this->matrix->check($x, $y) |
|
182 | 182 | && !$this->matrix->check($x, $y + 1) |
183 | 183 | && $this->matrix->check($x, $y + 2) |
184 | 184 | && $this->matrix->check($x, $y + 3) |
@@ -140,7 +140,6 @@ |
||
140 | 140 | * @param string|null $file |
141 | 141 | * |
142 | 142 | * @return string |
143 | - |
|
144 | 143 | * @throws \chillerlan\QRCode\Output\QRCodeOutputException |
145 | 144 | */ |
146 | 145 | protected function dumpImage(string $file = null):string{ |
@@ -86,9 +86,9 @@ |
||
86 | 86 | $matrix = $this->matrix->matrix(); |
87 | 87 | |
88 | 88 | $svg = \sprintf($this->svgHeader, $this->options->cssClass, $this->options->svgViewBoxSize ?? $this->moduleCount) |
89 | - .$this->options->eol |
|
90 | - .'<defs>'.$this->options->svgDefs.'</defs>' |
|
91 | - .$this->options->eol; |
|
89 | + .$this->options->eol |
|
90 | + .'<defs>'.$this->options->svgDefs.'</defs>' |
|
91 | + .$this->options->eol; |
|
92 | 92 | |
93 | 93 | foreach($this->moduleValues as $M_TYPE => $value){ |
94 | 94 | $path = ''; |