Completed
Push — master ( 42b368...ee7e2a )
by Emmanuel
06:52
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
     /**
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function getLossyDataURI($src, $minwidth = 75)
86 86
     {            
87
-        $src = imagescale($src,$minwidth,-1,IMG_NEAREST_NEIGHBOUR);
87
+        $src = imagescale($src, $minwidth, -1, IMG_NEAREST_NEIGHBOUR);
88 88
         
89 89
         ob_start();
90 90
         imagegif($src);
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
      * @throws \Exception
185 185
      * @return string
186 186
      */
187
-    public function autoDataURI($html, $minsize=true)
187
+    public function autoDataURI($html, $minsize = true)
188 188
     {
189 189
         $html = new GlHtml($html);
190 190
         $imgs = $html->get('img');
Please login to merge, or discard this patch.