Completed
Pull Request — master (#5)
by
unknown
04:28
created
src/Output/QRImage.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,8 +142,9 @@
 block discarded – undo
142 142
 			foreach($row AS $c=>$pixel){
143 143
 				if($pixel){
144 144
 					$count++;
145
-					if($from < 0)
146
-						$from = $c;
145
+					if($from < 0){
146
+											$from = $c;
147
+					}
147 148
 				}
148 149
 				else if($from >= 0){
149 150
 					echo '<rect x="' . ($from * $this->options->pixelSize + $this->options->marginSize) . '" y="' . ($r * $this->options->pixelSize + $this->options->marginSize) . '" width="' . ($this->options->pixelSize * $count) . '" height="' . $this->options->pixelSize . '" class="' . $class . '" />';
Please login to merge, or discard this patch.