Passed
Pull Request — master (#4)
by
unknown
01:44
created
src/RoleResourceTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
 	 */
30 30
 	public function fields(Request $request)
31 31
 	{
32
-		$guardOptions = collect(config('auth.guards'))->mapWithKeys(function ($value, $key) {
32
+		$guardOptions = collect(config('auth.guards'))->mapWithKeys(function($value, $key) {
33 33
 			return [$key => $key];
34 34
 		});
35 35
 
Please login to merge, or discard this patch.
resources/lang/zh-CN/roles.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'name'       => '角色',
5
-    'guard_name' => '守卫',
6
-    'created_at' => '创建时间',
7
-    'updated_at' => '更新时间',
4
+	'name'       => '角色',
5
+	'guard_name' => '守卫',
6
+	'created_at' => '创建时间',
7
+	'updated_at' => '更新时间',
8 8
 ];
9 9
\ No newline at end of file
Please login to merge, or discard this patch.
resources/lang/zh-CN/resources.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'Roles'       => '角色',
5
-    'Role'        => '角色',
6
-    'Permissions' => '权限',
7
-    'Permission'  => '权限',
4
+	'Roles'       => '角色',
5
+	'Role'        => '角色',
6
+	'Permissions' => '权限',
7
+	'Permission'  => '权限',
8 8
 ];
9 9
\ No newline at end of file
Please login to merge, or discard this patch.
resources/lang/zh-CN/permissions.php 1 patch
Indentation   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -1,12 +1,12 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'name'         => '权限',
5
-    'guard_name'   => '守卫',
6
-    'created_at'   => '创建时间',
7
-    'updated_at'   => '更新时间',
8
-    'display_name' => '显示名称',
9
-    'display_names' => [
10
-        'test' => '测试'
11
-    ],
4
+	'name'         => '权限',
5
+	'guard_name'   => '守卫',
6
+	'created_at'   => '创建时间',
7
+	'updated_at'   => '更新时间',
8
+	'display_name' => '显示名称',
9
+	'display_names' => [
10
+		'test' => '测试'
11
+	],
12 12
 ];
13 13
\ No newline at end of file
Please login to merge, or discard this patch.
resources/lang/zh-CN/navigation.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'sidebar-label' => '角色 & 权限',
4
+	'sidebar-label' => '角色 & 权限',
5 5
 ];
6 6
\ No newline at end of file
Please login to merge, or discard this patch.
resources/lang/en/roles.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'name'       => 'Name',
5
-    'guard_name' => 'Guard Name',
6
-    'created_at' => 'Created at',
7
-    'updated_at' => 'Updated at',
4
+	'name'       => 'Name',
5
+	'guard_name' => 'Guard Name',
6
+	'created_at' => 'Created at',
7
+	'updated_at' => 'Updated at',
8 8
 ];
9 9
\ No newline at end of file
Please login to merge, or discard this patch.
resources/lang/en/resources.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,8 +1,8 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'Roles'       => 'Roles',
5
-    'Role'        => 'Role',
6
-    'Permissions' => 'Permissions',
7
-    'Permission'  => 'Permission',
4
+	'Roles'       => 'Roles',
5
+	'Role'        => 'Role',
6
+	'Permissions' => 'Permissions',
7
+	'Permission'  => 'Permission',
8 8
 ];
9 9
\ No newline at end of file
Please login to merge, or discard this patch.
resources/lang/en/permissions.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'name'         => 'Name',
5
-    'display_name' => 'Display Name',
6
-    'guard_name'   => 'Guard Name',
7
-    'created_at'   => 'Created at',
8
-    'updated_at'   => 'Updated at',
4
+	'name'         => 'Name',
5
+	'display_name' => 'Display Name',
6
+	'guard_name'   => 'Guard Name',
7
+	'created_at'   => 'Created at',
8
+	'updated_at'   => 'Updated at',
9 9
 ];
10 10
\ No newline at end of file
Please login to merge, or discard this patch.
resources/lang/en/navigation.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,5 +1,5 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 return [
4
-    'sidebar-label' => 'Roles & Permissions',
4
+	'sidebar-label' => 'Roles & Permissions',
5 5
 ];
6 6
\ No newline at end of file
Please login to merge, or discard this patch.