@@ -202,12 +202,12 @@ |
||
202 | 202 | |
203 | 203 | return ''; |
204 | 204 | } |
205 | - $thumbHash = md5((string)Hash::get($image, 'meta.media_url') . json_encode($options)); |
|
205 | + $thumbHash = md5((string) Hash::get($image, 'meta.media_url') . json_encode($options)); |
|
206 | 206 | $key = sprintf('%d_%s', $image['id'], $thumbHash); |
207 | 207 | |
208 | - return (string)Cache::remember( |
|
208 | + return (string) Cache::remember( |
|
209 | 209 | $key, |
210 | - function () use ($image, $options) { |
|
210 | + function() use ($image, $options) { |
|
211 | 211 | return $this->url($image['id'], $options); |
212 | 212 | }, |
213 | 213 | $this->getConfig('cache') |