Completed
Push — master ( 77e695...312aa1 )
by Paul
11s
created
src/Elphin/IcoFileLoader/Ico.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -298,13 +298,13 @@
 block discarded – undo
298 298
     private function getBmpImage($index)
299 299
     {
300 300
         // create image filled with desired background color
301
-        $w=$this->iconDirEntry[$index]['Width'];
302
-        $h=$this->iconDirEntry[$index]['Height'];
301
+        $w = $this->iconDirEntry[$index]['Width'];
302
+        $h = $this->iconDirEntry[$index]['Height'];
303 303
         $im = imagecreatetruecolor($w, $h);
304 304
 
305 305
         if ($this->bgcolorTransparent) {
306 306
             imagealphablending($im, false);
307
-            $bgcolor=$this->allocateColor($im, $this->bgcolor[0], $this->bgcolor[1], $this->bgcolor[2], 127);
307
+            $bgcolor = $this->allocateColor($im, $this->bgcolor[0], $this->bgcolor[1], $this->bgcolor[2], 127);
308 308
             imagefilledrectangle($im, 0, 0, $w, $h, $bgcolor);
309 309
             imagesavealpha($im, true);
310 310
         } else {
Please login to merge, or discard this patch.