Completed
Pull Request — master (#2700)
by
unknown
20:27
created
src/Grid/Displayers/Image.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,8 +13,8 @@
 block discarded – undo
13 13
             $this->value = $this->value->toArray();
14 14
         }
15 15
 
16
-        return collect((array) $this->value)->filter()->map(function ($path) use ($server, $width, $height) {
17
-            if (url()->isValidUrl($path) || strpos($path,'data:image') === 0) {
16
+        return collect((array) $this->value)->filter()->map(function($path) use ($server, $width, $height) {
17
+            if (url()->isValidUrl($path) || strpos($path, 'data:image') === 0) {
18 18
                 $src = $path;
19 19
             } elseif ($server) {
20 20
                 $src = rtrim($server, '/').'/'.ltrim($path, '/');
Please login to merge, or discard this patch.