Passed
Pull Request — master (#4)
by
unknown
05:06
created
src/Role.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@  discard block
 block discarded – undo
8 8
 class Role extends Resource
9 9
 {
10 10
 	use RoleResourceTrait, TranslationHandelTrait {
11
-        TranslationHandelTrait::applyFilters insteadof RoleResourceTrait;
12
-    }
11
+		TranslationHandelTrait::applyFilters insteadof RoleResourceTrait;
12
+	}
13 13
 
14 14
 	/**
15 15
 	 * The model the resource corresponds to.
@@ -41,23 +41,23 @@  discard block
 block discarded – undo
41 41
 	 */
42 42
 	public static $displayInNavigation = false;
43 43
 
44
-    /**
45
-     * Get the displayable label of the resource.
46
-     *
47
-     * @return string
48
-     */
49
-    public static function label()
50
-    {
51
-        return __('laravel-nova-permission::resources.Roles');
52
-    }
53
-
54
-    /**
55
-     * Get the displayable singular label of the resource.
56
-     *
57
-     * @return string
58
-     */
59
-    public static function singularLabel()
60
-    {
61
-        return __('laravel-nova-permission::resources.Role');
62
-    }
44
+	/**
45
+	 * Get the displayable label of the resource.
46
+	 *
47
+	 * @return string
48
+	 */
49
+	public static function label()
50
+	{
51
+		return __('laravel-nova-permission::resources.Roles');
52
+	}
53
+
54
+	/**
55
+	 * Get the displayable singular label of the resource.
56
+	 *
57
+	 * @return string
58
+	 */
59
+	public static function singularLabel()
60
+	{
61
+		return __('laravel-nova-permission::resources.Role');
62
+	}
63 63
 }
Please login to merge, or discard this patch.
src/NovaPermissionServiceProvider.php 2 patches
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -12,11 +12,11 @@
 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
-        $this->publishes([
18
-            __DIR__.'/../resources/lang' => resource_path('lang/vendor/laravel-nova-permission'),
19
-        ], 'laravel-nova-permission-lang');
17
+		$this->publishes([
18
+			__DIR__.'/../resources/lang' => resource_path('lang/vendor/laravel-nova-permission'),
19
+		], 'laravel-nova-permission-lang');
20 20
 	}
21 21
 
22 22
 	/**
Please login to merge, or discard this 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/Permission.php 2 patches
Indentation   +20 added lines, -20 removed lines patch added patch discarded remove patch
@@ -8,8 +8,8 @@  discard block
 block discarded – undo
8 8
 class Permission extends Resource
9 9
 {
10 10
 	use PermissionResourceTrait,TranslationHandelTrait {
11
-	    TranslationHandelTrait::applyFilters insteadof PermissionResourceTrait;
12
-    }
11
+		TranslationHandelTrait::applyFilters insteadof PermissionResourceTrait;
12
+	}
13 13
 
14 14
 	/**
15 15
 	 * The model the resource corresponds to.
@@ -41,24 +41,24 @@  discard block
 block discarded – undo
41 41
 	 */
42 42
 	public static $displayInNavigation = false;
43 43
 
44
-    /**
45
-     * Get the displayable label of the resource.
46
-     *
47
-     * @return string
48
-     */
49
-    public static function label()
50
-    {
51
-        return __('laravel-nova-permission::resources.Permissions');
52
-    }
44
+	/**
45
+	 * Get the displayable label of the resource.
46
+	 *
47
+	 * @return string
48
+	 */
49
+	public static function label()
50
+	{
51
+		return __('laravel-nova-permission::resources.Permissions');
52
+	}
53 53
 
54
-    /**
55
-     * Get the displayable singular label of the resource.
56
-     *
57
-     * @return string
58
-     */
59
-    public static function singularLabel()
60
-    {
61
-        return __('laravel-nova-permission::resources.Permission');
62
-    }
54
+	/**
55
+	 * Get the displayable singular label of the resource.
56
+	 *
57
+	 * @return string
58
+	 */
59
+	public static function singularLabel()
60
+	{
61
+		return __('laravel-nova-permission::resources.Permission');
62
+	}
63 63
 
64 64
 }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
 
8 8
 class Permission extends Resource
9 9
 {
10
-	use PermissionResourceTrait,TranslationHandelTrait {
10
+	use PermissionResourceTrait, TranslationHandelTrait {
11 11
 	    TranslationHandelTrait::applyFilters insteadof PermissionResourceTrait;
12 12
     }
13 13
 
Please login to merge, or discard this patch.