@@ -69,8 +69,8 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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'); |