@@ -63,8 +63,8 @@ |
||
63 | 63 | foreach($row as $c => $pixel){ |
64 | 64 | if($pixel){ |
65 | 65 | imagefilledrectangle($image, |
66 | - $this->options->marginSize + $c * $this->options->pixelSize, |
|
67 | - $this->options->marginSize + $r * $this->options->pixelSize, |
|
66 | + $this->options->marginSize + $c * $this->options->pixelSize, |
|
67 | + $this->options->marginSize + $r * $this->options->pixelSize, |
|
68 | 68 | $this->options->marginSize + ($c + 1) * $this->options->pixelSize - 1, |
69 | 69 | $this->options->marginSize + ($r + 1) * $this->options->pixelSize - 1, |
70 | 70 | $foreground); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | $this->options = new $this->optionsInterface; |
54 | 54 | } |
55 | 55 | |
56 | - if(is_array($this->types) && !in_array($this->options->type, $this->types , true)){ |
|
56 | + if(is_array($this->types) && !in_array($this->options->type, $this->types, true)){ |
|
57 | 57 | throw new QRCodeOutputException('Invalid output type!'); |
58 | 58 | } |
59 | 59 |