Completed
Pull Request — master (#5882)
by
unknown
22s
created
test-app/bootstrap/app.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,9 +10,9 @@
 block discarded – undo
10 10
         commands: __DIR__.'/../routes/console.php',
11 11
         health: '/up',
12 12
     )
13
-    ->withMiddleware(function (Middleware $middleware): void {
13
+    ->withMiddleware(function(Middleware $middleware): void {
14 14
         //
15 15
     })
16
-    ->withExceptions(function (Exceptions $exceptions): void {
16
+    ->withExceptions(function(Exceptions $exceptions): void {
17 17
         //
18 18
     })->create();
Please login to merge, or discard this patch.
test-app/app/Admin/Controllers/HomeController.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -16,17 +16,17 @@
 block discarded – undo
16 16
             ->title('Dashboard')
17 17
             ->description('Description...')
18 18
             ->row(Dashboard::title())
19
-            ->row(function (Row $row) {
19
+            ->row(function(Row $row) {
20 20
 
21
-                $row->column(4, function (Column $column) {
21
+                $row->column(4, function(Column $column) {
22 22
                     $column->append(Dashboard::environment());
23 23
                 });
24 24
 
25
-                $row->column(4, function (Column $column) {
25
+                $row->column(4, function(Column $column) {
26 26
                     $column->append(Dashboard::extensions());
27 27
                 });
28 28
 
29
-                $row->column(4, function (Column $column) {
29
+                $row->column(4, function(Column $column) {
30 30
                     $column->append(Dashboard::dependencies());
31 31
                 });
32 32
             });
Please login to merge, or discard this patch.
test-app/app/Admin/routes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@
 block discarded – undo
8 8
     'prefix'        => config('admin.route.prefix'),
9 9
     'namespace'     => config('admin.route.namespace'),
10 10
     'middleware'    => config('admin.route.middleware'),
11
-    'as'            => config('admin.route.prefix') . '.',
12
-], function (Router $router) {
11
+    'as'            => config('admin.route.prefix').'.',
12
+], function(Router $router) {
13 13
 
14 14
     $router->get('/', 'HomeController@index')->name('home');
15 15
 
Please login to merge, or discard this patch.
database/migrations/2016_01_04_173148_create_admin_tables.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
      */
22 22
     public function up()
23 23
     {
24
-        Schema::create(config('admin.database.users_table'), function (Blueprint $table) {
24
+        Schema::create(config('admin.database.users_table'), function(Blueprint $table) {
25 25
             $table->id();
26 26
             $table->string('username', 190)->unique();
27 27
             $table->string('password', 60);
@@ -31,14 +31,14 @@  discard block
 block discarded – undo
31 31
             $table->timestamps();
32 32
         });
33 33
 
34
-        Schema::create(config('admin.database.roles_table'), function (Blueprint $table) {
34
+        Schema::create(config('admin.database.roles_table'), function(Blueprint $table) {
35 35
             $table->id();
36 36
             $table->string('name', 50)->unique();
37 37
             $table->string('slug', 50)->unique();
38 38
             $table->timestamps();
39 39
         });
40 40
 
41
-        Schema::create(config('admin.database.permissions_table'), function (Blueprint $table) {
41
+        Schema::create(config('admin.database.permissions_table'), function(Blueprint $table) {
42 42
             $table->id();
43 43
             $table->string('name', 50)->unique();
44 44
             $table->string('slug', 50)->unique();
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
             $table->timestamps();
48 48
         });
49 49
 
50
-        Schema::create(config('admin.database.menu_table'), function (Blueprint $table) {
50
+        Schema::create(config('admin.database.menu_table'), function(Blueprint $table) {
51 51
             $table->id();
52 52
             $table->integer('parent_id')->default(0);
53 53
             $table->integer('order')->default(0);
@@ -59,35 +59,35 @@  discard block
 block discarded – undo
59 59
             $table->timestamps();
60 60
         });
61 61
 
62
-        Schema::create(config('admin.database.role_users_table'), function (Blueprint $table) {
62
+        Schema::create(config('admin.database.role_users_table'), function(Blueprint $table) {
63 63
             $table->foreignId('role_id')->constrained(config('admin.database.roles_table'))->onDelete('cascade');
64 64
             $table->foreignId('user_id')->constrained(config('admin.database.users_table'))->onDelete('cascade');
65 65
             $table->index(['role_id', 'user_id']);
66 66
             $table->timestamps();
67 67
         });
68 68
 
69
-        Schema::create(config('admin.database.role_permissions_table'), function (Blueprint $table) {
69
+        Schema::create(config('admin.database.role_permissions_table'), function(Blueprint $table) {
70 70
             $table->foreignId('role_id')->constrained(config('admin.database.roles_table'))->onDelete('cascade');
71 71
             $table->foreignId('permission_id')->constrained(config('admin.database.permissions_table'))->onDelete('cascade');
72 72
             $table->index(['role_id', 'permission_id']);
73 73
             $table->timestamps();
74 74
         });
75 75
 
76
-        Schema::create(config('admin.database.user_permissions_table'), function (Blueprint $table) {
76
+        Schema::create(config('admin.database.user_permissions_table'), function(Blueprint $table) {
77 77
             $table->foreignId('user_id')->constrained(config('admin.database.users_table'))->onDelete('cascade');
78 78
             $table->foreignId('permission_id')->constrained(config('admin.database.permissions_table'))->onDelete('cascade');
79 79
             $table->index(['user_id', 'permission_id']);
80 80
             $table->timestamps();
81 81
         });
82 82
 
83
-        Schema::create(config('admin.database.role_menu_table'), function (Blueprint $table) {
83
+        Schema::create(config('admin.database.role_menu_table'), function(Blueprint $table) {
84 84
             $table->foreignId('role_id')->constrained(config('admin.database.roles_table'))->onDelete('cascade');
85 85
             $table->foreignId('menu_id')->constrained(config('admin.database.menu_table'))->onDelete('cascade');
86 86
             $table->index(['role_id', 'menu_id']);
87 87
             $table->timestamps();
88 88
         });
89 89
 
90
-        Schema::create(config('admin.database.operation_log_table'), function (Blueprint $table) {
90
+        Schema::create(config('admin.database.operation_log_table'), function(Blueprint $table) {
91 91
             $table->id();
92 92
             $table->foreignId('user_id')->constrained(config('admin.database.users_table'))->onDelete('cascade');
93 93
             $table->string('path');
Please login to merge, or discard this patch.