@@ -49,7 +49,6 @@ discard block |
||
| 49 | 49 | if($this->options->type === QRCode::OUTPUT_STRING_JSON){ |
| 50 | 50 | return json_encode($this->matrix); |
| 51 | 51 | } |
| 52 | - |
|
| 53 | 52 | else if($this->options->type === QRCode::OUTPUT_STRING_TEXT){ |
| 54 | 53 | $text = ''; |
| 55 | 54 | |
@@ -65,7 +64,6 @@ discard block |
||
| 65 | 64 | |
| 66 | 65 | return $text; |
| 67 | 66 | } |
| 68 | - |
|
| 69 | 67 | else if($this->options->type === QRCode::OUTPUT_STRING_HTML){ |
| 70 | 68 | $html = ''; |
| 71 | 69 | |
@@ -291,7 +291,7 @@ discard block |
||
| 291 | 291 | foreach($range2 as $col){ |
| 292 | 292 | |
| 293 | 293 | if( |
| 294 | - $this->matrix[$row][$col ] |
|
| 294 | + $this->matrix[$row][$col ] |
|
| 295 | 295 | && !$this->matrix[$row][$col + 1] |
| 296 | 296 | && $this->matrix[$row][$col + 2] |
| 297 | 297 | && $this->matrix[$row][$col + 3] |
@@ -309,7 +309,7 @@ discard block |
||
| 309 | 309 | foreach($range2 as $row){ |
| 310 | 310 | |
| 311 | 311 | if( |
| 312 | - $this->matrix[$row ][$col] |
|
| 312 | + $this->matrix[$row ][$col] |
|
| 313 | 313 | && !$this->matrix[$row + 1][$col] |
| 314 | 314 | && $this->matrix[$row + 2][$col] |
| 315 | 315 | && $this->matrix[$row + 3][$col] |