We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -26,7 +26,7 @@ |
||
26 | 26 | <!-- Include jQuery, jQuery UI, elFinder (REQUIRED) --> |
27 | 27 | |
28 | 28 | <?php |
29 | - $mimeTypes = implode(',', array_map(function ($t) { |
|
29 | + $mimeTypes = implode(',', array_map(function($t) { |
|
30 | 30 | return "'".$t."'"; |
31 | 31 | }, explode(',', $type))); |
32 | 32 | ?> |
@@ -13,13 +13,13 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('roles', function (Blueprint $table) { |
|
16 | + Schema::create('roles', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name')->unique(); |
19 | 19 | $table->timestamps(); |
20 | 20 | }); |
21 | 21 | |
22 | - Schema::create('user_role', function (Blueprint $table) { |
|
22 | + Schema::create('user_role', function(Blueprint $table) { |
|
23 | 23 | $table->integer('user_id')->length(10)->unsigned(); |
24 | 24 | $table->integer('role_id')->length(10)->unsigned(); |
25 | 25 | $table->timestamps(); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('addresses', function (Blueprint $table) { |
|
16 | + Schema::create('addresses', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->integer('account_details_id')->length(10)->unsigned(); |
19 | 19 | $table->string('city'); |
@@ -12,7 +12,7 @@ |
||
12 | 12 | */ |
13 | 13 | public function up() |
14 | 14 | { |
15 | - Schema::create('articles', function ($table) { |
|
15 | + Schema::create('articles', function($table) { |
|
16 | 16 | $table->increments('id'); |
17 | 17 | $table->integer('user_id')->length(10)->unsigned(); |
18 | 18 | $table->string('content'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('account_details', function (Blueprint $table) { |
|
16 | + Schema::create('account_details', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->integer('user_id')->length(10)->unsigned(); |
19 | 19 | $table->string('nickname'); |
@@ -13,7 +13,7 @@ |
||
13 | 13 | */ |
14 | 14 | public function up() |
15 | 15 | { |
16 | - Schema::create('users', function (Blueprint $table) { |
|
16 | + Schema::create('users', function(Blueprint $table) { |
|
17 | 17 | $table->increments('id'); |
18 | 18 | $table->string('name'); |
19 | 19 | $table->string('email')->unique(); |
@@ -15,7 +15,7 @@ |
||
15 | 15 | // uncomment the next statement to map strings to enum types in doctrine and get over the 'Unknown database type enum' DBAL error |
16 | 16 | // Schema::getConnection()->getDoctrineSchemaManager()->getDatabasePlatform()->registerDoctrineTypeMapping('enum', 'string'); |
17 | 17 | |
18 | - Schema::create('column_types', function ($table) { |
|
18 | + Schema::create('column_types', function($table) { |
|
19 | 19 | $table->bigInteger('bigIntegerCol'); |
20 | 20 | $table->binary('binaryCol'); |
21 | 21 | $table->boolean('booleanCol'); |
@@ -36,7 +36,7 @@ discard block |
||
36 | 36 | $this->crud->set('reorder.enabled', true); |
37 | 37 | $this->crud->allowAccess('reorder'); |
38 | 38 | |
39 | - $this->crud->operation('list', function () { |
|
39 | + $this->crud->operation('list', function() { |
|
40 | 40 | $this->crud->addButton('top', 'reorder', 'view', 'crud::buttons.reorder'); |
41 | 41 | }); |
42 | 42 | } |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | $this->crud->applyConfigurationFromSettings('reorder'); |
54 | 54 | $this->crud->hasAccessOrFail('reorder'); |
55 | 55 | |
56 | - if (! $this->crud->isReorderEnabled()) { |
|
56 | + if (!$this->crud->isReorderEnabled()) { |
|
57 | 57 | abort(403, 'Reorder is disabled.'); |
58 | 58 | } |
59 | 59 |
@@ -42,13 +42,13 @@ |
||
42 | 42 | { |
43 | 43 | $this->crud->allowAccess('update'); |
44 | 44 | |
45 | - $this->crud->operation('update', function () { |
|
45 | + $this->crud->operation('update', function() { |
|
46 | 46 | $this->crud->set('update.groupedErrors', config('backpack.crud.show_grouped_errors', true)); |
47 | 47 | $this->crud->set('update.inlineErrors', config('backpack.crud.show_inline_errors', true)); |
48 | 48 | $this->crud->set('update.autoFocusOnFirstField', true); |
49 | 49 | }); |
50 | 50 | |
51 | - $this->crud->operation(['list', 'show'], function () { |
|
51 | + $this->crud->operation(['list', 'show'], function() { |
|
52 | 52 | $this->crud->addButton('line', 'update', 'view', 'crud::buttons.update', 'end'); |
53 | 53 | }); |
54 | 54 | } |