@@ -42,14 +42,14 @@ discard block |
||
| 42 | 42 | |
| 43 | 43 | protected function setUpDatabase() |
| 44 | 44 | { |
| 45 | - $this->app['db']->connection()->getSchemaBuilder()->create('dummies', function (Blueprint $table) { |
|
| 45 | + $this->app['db']->connection()->getSchemaBuilder()->create('dummies', function(Blueprint $table) { |
|
| 46 | 46 | $table->increments('id'); |
| 47 | 47 | $table->string('name'); |
| 48 | 48 | $table->string('custom_column_sort'); |
| 49 | 49 | $table->integer('order_column'); |
| 50 | 50 | }); |
| 51 | 51 | |
| 52 | - collect(range(1, 20))->each(function (int $i) { |
|
| 52 | + collect(range(1, 20))->each(function(int $i) { |
|
| 53 | 53 | Dummy::create([ |
| 54 | 54 | 'name' => $i, |
| 55 | 55 | 'custom_column_sort' => rand(), |
@@ -59,14 +59,14 @@ discard block |
||
| 59 | 59 | |
| 60 | 60 | protected function setUpSoftDeletes() |
| 61 | 61 | { |
| 62 | - $this->app['db']->connection()->getSchemaBuilder()->table('dummies', function (Blueprint $table) { |
|
| 62 | + $this->app['db']->connection()->getSchemaBuilder()->table('dummies', function(Blueprint $table) { |
|
| 63 | 63 | $table->softDeletes(); |
| 64 | 64 | }); |
| 65 | 65 | } |
| 66 | 66 | |
| 67 | 67 | protected function setUpCustomSortColumns() |
| 68 | 68 | { |
| 69 | - $this->app['db']->connection()->getSchemaBuilder()->create('dummy_customs', function (Blueprint $table) { |
|
| 69 | + $this->app['db']->connection()->getSchemaBuilder()->create('dummy_customs', function(Blueprint $table) { |
|
| 70 | 70 | $table->increments('id'); |
| 71 | 71 | $table->string('name'); |
| 72 | 72 | $table->integer('custom_order_column_name'); |