@@ -30,12 +30,12 @@ |
||
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) . ' />'; |