Completed
Push — master ( 4ce895...0e59b8 )
by Ankit
05:10 queued 02:53
created
src/LaravelImage/ImageHelper.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,12 +30,12 @@
 block discarded – undo
30 30
 
31 31
         $path = config('laravelimage.routePath') . '/' . $dir . $image . '?' . http_build_query($options, '', '&');
32 32
 
33
-        if ( ! empty((int) $width)) {
34
-            $path .= '&w=' . (int) $width;
33
+        if ( ! empty((int)$width)) {
34
+            $path .= '&w=' . (int)$width;
35 35
         }
36 36
 
37
-        if ( ! empty((int) $height)) {
38
-            $path .= '&h=' . (int) $height;
37
+        if ( ! empty((int)$height)) {
38
+            $path .= '&h=' . (int)$height;
39 39
         }
40 40
 
41 41
         return '<img src="' . asset($path) . '" ' . $this->buildAttributes($attributes) . ' />';
Please login to merge, or discard this patch.