@@ -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{ |
@@ -79,9 +79,9 @@ |
||
| 79 | 79 | $matrix = $this->matrix->matrix(); |
| 80 | 80 | |
| 81 | 81 | $svg = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'.$length.'px" height="'.$length.'px">' |
| 82 | - .$this->options->eol |
|
| 83 | - .'<defs>'.$this->options->svgDefs.'</defs>' |
|
| 84 | - .$this->options->eol; |
|
| 82 | + .$this->options->eol |
|
| 83 | + .'<defs>'.$this->options->svgDefs.'</defs>' |
|
| 84 | + .$this->options->eol; |
|
| 85 | 85 | |
| 86 | 86 | foreach($this->moduleValues as $M_TYPE => $value){ |
| 87 | 87 | $path = ''; |