@@ -213,10 +213,10 @@ |
||
| 213 | 213 | 'middleware' => config('admin.route.middleware'), |
| 214 | 214 | ]; |
| 215 | 215 | |
| 216 | - app('router')->group($attributes, function ($router) { |
|
| 216 | + app('router')->group($attributes, function($router) { |
|
| 217 | 217 | |
| 218 | 218 | /* @var \Illuminate\Routing\Router $router */ |
| 219 | - $router->namespace('Encore\Admin\Controllers')->group(function ($router) { |
|
| 219 | + $router->namespace('Encore\Admin\Controllers')->group(function($router) { |
|
| 220 | 220 | |
| 221 | 221 | /* @var \Illuminate\Routing\Router $router */ |
| 222 | 222 | $router->resource('auth/users', 'UserController'); |
@@ -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}\">"; |