We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | */ |
| 14 | 14 | public function up() |
| 15 | 15 | { |
| 16 | - Schema::create('reorders', function (Blueprint $table) { |
|
| 16 | + Schema::create('reorders', function(Blueprint $table) { |
|
| 17 | 17 | $table->increments('id'); |
| 18 | 18 | $table->string('name'); |
| 19 | 19 | $table->bigInteger('parent_id')->nullable(); |
@@ -25,7 +25,7 @@ discard block |
||
| 25 | 25 | (array) config('backpack.base.middleware_key', 'admin'), |
| 26 | 26 | 'prefix' => config('backpack.base.route_prefix', 'admin'), |
| 27 | 27 | ], |
| 28 | - function () { |
|
| 28 | + function() { |
|
| 29 | 29 | Route::get('articles/{id}/show/{detail}', ['as' => 'article.show.detail', 'action' => 'Backpack\CRUD\Tests\config\Http\Controllers\ArticleCrudController@detail']); |
| 30 | 30 | Route::crud('users', 'Backpack\CRUD\Tests\config\Http\Controllers\UserCrudController'); |
| 31 | 31 | Route::crud('articles', 'Backpack\CRUD\Tests\config\Http\Controllers\ArticleCrudController'); |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | protected function setupUserCreateRequest() |
| 46 | 46 | { |
| 47 | 47 | $request = request()->create('/admin/users/create', 'POST', ['name' => 'foo']); |
| 48 | - $request->setRouteResolver(function () use ($request) { |
|
| 48 | + $request->setRouteResolver(function() use ($request) { |
|
| 49 | 49 | return (new RouteInstance('POST', 'admin/users/create', ['UserCrudController', 'create']))->bind($request); |
| 50 | 50 | }); |
| 51 | 51 | $this->crudPanel->setRequest($request); |
@@ -32,7 +32,7 @@ discard block |
||
| 32 | 32 | |
| 33 | 33 | public function testItCanAddAClauseToTheQueryUsingAClosure() |
| 34 | 34 | { |
| 35 | - $closure = function ($query) { |
|
| 35 | + $closure = function($query) { |
|
| 36 | 36 | $query->where('id', 1); |
| 37 | 37 | }; |
| 38 | 38 | |
@@ -51,7 +51,7 @@ discard block |
||
| 51 | 51 | |
| 52 | 52 | public function testItCanAddABaseClauseToTheQueryUsingAClosure() |
| 53 | 53 | { |
| 54 | - $closure = function ($query) { |
|
| 54 | + $closure = function($query) { |
|
| 55 | 55 | $query->where('id', 1); |
| 56 | 56 | }; |
| 57 | 57 | |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | $this->crudPanel->addColumn([ |
| 116 | 116 | 'name' => 'name', |
| 117 | 117 | 'type' => 'text', |
| 118 | - 'orderLogic' => function ($query, $column, $direction) { |
|
| 118 | + 'orderLogic' => function($query, $column, $direction) { |
|
| 119 | 119 | $query->orderBy('name', $direction); |
| 120 | 120 | }, |
| 121 | 121 | ]); |