Completed
Push — master ( 1a2d4b...99084f )
by smiley
03:12
created
src/Output/QRImage.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -77,8 +77,8 @@  discard block
 block discarded – undo
77 77
 			foreach($row as $c => $pixel){
78 78
 				if($pixel){
79 79
 					imagefilledrectangle($image,
80
-						$this->options->marginSize +  $c      * $this->options->pixelSize,
81
-						$this->options->marginSize +  $r      * $this->options->pixelSize,
80
+						$this->options->marginSize + $c * $this->options->pixelSize,
81
+						$this->options->marginSize + $r * $this->options->pixelSize,
82 82
 						$this->options->marginSize + ($c + 1) * $this->options->pixelSize - 1,
83 83
 						$this->options->marginSize + ($r + 1) * $this->options->pixelSize - 1,
84 84
 						$foreground);
@@ -89,9 +89,9 @@  discard block
 block discarded – undo
89 89
 		ob_start();
90 90
 
91 91
 		switch($this->options->type){
92
-			case QRCode::OUTPUT_IMAGE_PNG: imagepng ($image, $this->options->cachefile, (int)$this->options->pngCompression); break;
92
+			case QRCode::OUTPUT_IMAGE_PNG: imagepng($image, $this->options->cachefile, (int)$this->options->pngCompression); break;
93 93
 			case QRCode::OUTPUT_IMAGE_JPG: imagejpeg($image, $this->options->cachefile, (int)$this->options->jpegQuality); break;
94
-			case QRCode::OUTPUT_IMAGE_GIF: imagegif ($image, $this->options->cachefile); break; /** Actually, it's pronounced "DJIFF". *hides* */
94
+			case QRCode::OUTPUT_IMAGE_GIF: imagegif($image, $this->options->cachefile); break; /** Actually, it's pronounced "DJIFF". *hides* */
95 95
 		}
96 96
 
97 97
 		$imageData = ob_get_contents();
Please login to merge, or discard this patch.