@@ -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) |
@@ -74,9 +74,9 @@ |
||
| 74 | 74 | $matrix = $this->matrix->matrix(); |
| 75 | 75 | |
| 76 | 76 | $svg = '<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'.$length.'px" height="'.$length.'px">' |
| 77 | - .$this->options->eol |
|
| 78 | - .'<defs>'.$this->options->svgDefs.'</defs>' |
|
| 79 | - .$this->options->eol; |
|
| 77 | + .$this->options->eol |
|
| 78 | + .'<defs>'.$this->options->svgDefs.'</defs>' |
|
| 79 | + .$this->options->eol; |
|
| 80 | 80 | |
| 81 | 81 | foreach($this->options->moduleValues as $M_TYPE => $value){ |
| 82 | 82 | |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | * @return bool|int |
| 69 | 69 | * @throws \chillerlan\QRCode\Output\QRCodeOutputException |
| 70 | 70 | */ |
| 71 | - protected function saveToFile(string $data) { |
|
| 71 | + protected function saveToFile(string $data){ |
|
| 72 | 72 | |
| 73 | 73 | if(!is_writable(dirname($this->options->cachefile))){ |
| 74 | 74 | throw new QRCodeOutputException('Could not write data to cache file: '.$this->options->cachefile); |