@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | */ |
71 | 71 | public function register() |
72 | 72 | { |
73 | - $this->app->booting(function () { |
|
73 | + $this->app->booting(function() { |
|
74 | 74 | $loader = AliasLoader::getInstance(); |
75 | 75 | |
76 | 76 | $loader->alias('Admin', \Encore\Admin\Facades\Admin::class); |
@@ -123,7 +123,7 @@ discard block |
||
123 | 123 | */ |
124 | 124 | public function registerRouter() |
125 | 125 | { |
126 | - $this->app->singleton('admin.router', function ($app) { |
|
126 | + $this->app->singleton('admin.router', function($app) { |
|
127 | 127 | return new Router($app['router']); |
128 | 128 | }); |
129 | 129 | } |
@@ -357,7 +357,7 @@ discard block |
||
357 | 357 | |
358 | 358 | Column::setOriginalGridData($data); |
359 | 359 | |
360 | - $this->columns->map(function (Column $column) use (&$data) { |
|
360 | + $this->columns->map(function(Column $column) use (&$data) { |
|
361 | 361 | $data = $column->fill($data); |
362 | 362 | |
363 | 363 | $this->columnNames[] = $column->getName(); |
@@ -389,7 +389,7 @@ discard block |
||
389 | 389 | */ |
390 | 390 | protected function buildRows(array $data) |
391 | 391 | { |
392 | - $this->rows = collect($data)->map(function ($val, $key) { |
|
392 | + $this->rows = collect($data)->map(function($val, $key) { |
|
393 | 393 | $row = new Row($key, $val); |
394 | 394 | |
395 | 395 | $row->setKeyName($this->keyName); |
@@ -673,7 +673,7 @@ discard block |
||
673 | 673 | ->push($perPage) |
674 | 674 | ->unique() |
675 | 675 | ->sort() |
676 | - ->map(function ($option) use ($perPage) { |
|
676 | + ->map(function($option) use ($perPage) { |
|
677 | 677 | $selected = ($option == $perPage) ? 'selected' : ''; |
678 | 678 | $url = app('request')->fullUrlWithQuery([$this->model->getPerPageName() => $option]); |
679 | 679 |