Passed
Push — master ( abfaec...c9e5dd )
by Paras
07:00 queued 04:39
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/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.
src/NovaPermissionServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,10 +12,10 @@
 block discarded – undo
12 12
 	public function boot()
13 13
 	{
14 14
 		$this->loadViewsFrom(__DIR__ . '/../resources/views', 'laravel-nova-permission');
15
-		$this->loadTranslationsFrom(__DIR__.'/../resources/lang', 'laravel-nova-permission');
15
+		$this->loadTranslationsFrom(__DIR__ . '/../resources/lang', 'laravel-nova-permission');
16 16
 
17 17
 		$this->publishes([
18
-			__DIR__.'/../resources/lang' => resource_path('lang/vendor/laravel-nova-permission'),
18
+			__DIR__ . '/../resources/lang' => resource_path('lang/vendor/laravel-nova-permission'),
19 19
 		], 'laravel-nova-permission-lang');
20 20
 	}
21 21
 
Please login to merge, or discard this patch.
src/PermissionResourceTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
 	 */
31 31
 	public function fields(Request $request)
32 32
 	{
33
-		$guardOptions = collect(config('auth.guards'))->mapWithKeys(function ($value, $key) {
33
+		$guardOptions = collect(config('auth.guards'))->mapWithKeys(function($value, $key) {
34 34
 			return [$key => $key];
35 35
 		});
36 36
 
@@ -46,9 +46,9 @@  discard block
 block discarded – undo
46 46
 				->creationRules('unique:' . config('permission.table_names.permissions'))
47 47
 				->updateRules('unique:' . config('permission.table_names.permissions') . ',name,{{resourceId}}'),
48 48
 
49
-			Text::make(__('laravel-nova-permission::permissions.display_name'),function (){
50
-				return __('laravel-nova-permission::permissions.display_names.'.$this->name);
51
-			})->canSee(function (){
49
+			Text::make(__('laravel-nova-permission::permissions.display_name'), function() {
50
+				return __('laravel-nova-permission::permissions.display_names.' . $this->name);
51
+			})->canSee(function() {
52 52
 				return is_array(__('laravel-nova-permission::permissions.display_names'));
53 53
 			}),
54 54
 
Please login to merge, or discard this patch.