Completed
Push — master ( debe1f...8b07a4 )
by Emmanuel
03:07
created
src/GlLazyLoadImg.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
     
72 72
     private function gcd($a,$b) {
73
-         return ($a % $b) ? $this->gcd($b,$a % $b) : $b;
73
+            return ($a % $b) ? $this->gcd($b,$a % $b) : $b;
74 74
     }
75 75
     
76 76
     /**
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,8 +69,8 @@  discard block
 block discarded – undo
69 69
     }
70 70
 
71 71
     
72
-    private function gcd($a,$b) {
73
-         return ($a % $b) ? $this->gcd($b,$a % $b) : $b;
72
+    private function gcd($a, $b) {
73
+         return ($a % $b) ? $this->gcd($b, $a % $b) : $b;
74 74
     }
75 75
     
76 76
     /**
@@ -92,7 +92,7 @@  discard block
 block discarded – undo
92 92
             $width  = $width / $gcd;
93 93
             $height = $height / $gcd;
94 94
             
95
-            $src = imagescale($src,$width,$height,IMG_NEAREST_NEIGHBOUR);
95
+            $src = imagescale($src, $width, $height, IMG_NEAREST_NEIGHBOUR);
96 96
         }
97 97
         
98 98
         ob_start();
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      * @throws \Exception
196 196
      * @return string
197 197
      */
198
-    public function autoDataURI($html, $minsize=true)
198
+    public function autoDataURI($html, $minsize = true)
199 199
     {
200 200
         $html = new GlHtml($html);
201 201
         $imgs = $html->get('img');
Please login to merge, or discard this patch.