@@ -13,7 +13,7 @@ |
||
| 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) { |
|
| 16 | + return collect((array) $this->value)->filter()->map(function($path) use ($server, $width, $height) { |
|
| 17 | 17 | if (url()->isValidUrl($path) || strpos($path, 'data:image') === 0) { |
| 18 | 18 | $src = $path; |
| 19 | 19 | } elseif ($server) { |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | protected function startColumn() |
| 113 | 113 | { |
| 114 | 114 | // get classname using width array |
| 115 | - $classname = implode(' ', collect($this->width)->map(function ($value, $key) { |
|
| 115 | + $classname = implode(' ', collect($this->width)->map(function($value, $key) { |
|
| 116 | 116 | return "col-$key-$value"; |
| 117 | 117 | })->toArray()); |
| 118 | 118 | echo "<div class=\"{$classname}\">"; |
@@ -79,7 +79,7 @@ |
||
| 79 | 79 | 'browseLabel' => trans('admin.browse'), |
| 80 | 80 | 'showRemove' => false, |
| 81 | 81 | 'showUpload' => false, |
| 82 | - 'dropZoneEnabled' => false, //dropzone disabled by default for backward compatibility |
|
| 82 | + 'dropZoneEnabled' => false, //dropzone disabled by default for backward compatibility |
|
| 83 | 83 | // 'initialCaption' => $this->initialCaption($this->value), |
| 84 | 84 | 'deleteExtraData' => [ |
| 85 | 85 | $this->formatName($this->column) => static::FILE_DELETE_FLAG, |
@@ -184,7 +184,7 @@ |
||
| 184 | 184 | $attributes = array_merge($attributes, $this->attributes); |
| 185 | 185 | } |
| 186 | 186 | |
| 187 | - $attributes = collect($attributes)->map(function ($attribute, $name) { |
|
| 187 | + $attributes = collect($attributes)->map(function($attribute, $name) { |
|
| 188 | 188 | return "$name='$attribute'"; |
| 189 | 189 | })->implode(' '); |
| 190 | 190 | |