@@ -171,8 +171,8 @@ |
||
171 | 171 | } |
172 | 172 | } |
173 | 173 | |
174 | - for ($x = 0; $x < $this->moduleCount; $x++) { |
|
175 | - for ($y = 0; $y < $this->moduleCount - 6; $y++) { |
|
174 | + for ($x = 0; $x < $this->moduleCount; $x++){ |
|
175 | + for ($y = 0; $y < $this->moduleCount - 6; $y++){ |
|
176 | 176 | |
177 | 177 | if( |
178 | 178 | $this->matrix->check($x, $y ) |
@@ -22,7 +22,7 @@ |
||
22 | 22 | /** |
23 | 23 | * @return string |
24 | 24 | */ |
25 | - public function dump() { |
|
25 | + public function dump(){ |
|
26 | 26 | switch($this->options->outputType){ |
27 | 27 | case QRCode::OUTPUT_MARKUP_SVG : return $this->toSVG(); |
28 | 28 | case QRCode::OUTPUT_MARKUP_HTML: |
@@ -47,7 +47,8 @@ |
||
47 | 47 | |
48 | 48 | $this->moduleCount = $matrix->size(); |
49 | 49 | |
50 | - if($this->moduleCount < 21){ // minimum QR modules @todo: quet zone |
|
50 | + if($this->moduleCount < 21){ |
|
51 | +// minimum QR modules @todo: quet zone |
|
51 | 52 | throw new QRCodeOutputException('Invalid matrix!'); |
52 | 53 | } |
53 | 54 |