Completed
Push — master ( e259b1...e2a3b3 )
by wen
04:16
created
src/Providers/AdminServiceProvider.php 1 patch
Unused Use Statements   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@  discard block
 block discarded – undo
10 10
 use KodiComponents\Navigation\Contracts\NavigationInterface;
11 11
 use KodiComponents\Navigation\Contracts\PageInterface;
12 12
 use KodiComponents\Navigation\Navigation;
13
-use KodiComponents\Navigation\NavigationServiceProvider;
14 13
 use Laracasts\Utilities\JavaScript\JavaScriptServiceProvider;
15 14
 use Sco\ActionLog\LaravelServiceProvider;
16 15
 use Sco\Admin\Admin;
@@ -19,8 +18,8 @@  discard block
 block discarded – undo
19 18
 use Sco\Admin\Contracts\RepositoryInterface;
20 19
 use Sco\Admin\Elements\ElementFactory;
21 20
 use Sco\Admin\Exceptions\Handler;
22
-use Sco\Admin\Facades\AdminFacade;
23 21
 use Sco\Admin\Facades\AdminElementFacade;
22
+use Sco\Admin\Facades\AdminFacade;
24 23
 use Sco\Admin\Facades\AdminNavigationFacade;
25 24
 use Sco\Admin\Navigation\Badge;
26 25
 use Sco\Admin\Navigation\Page;
Please login to merge, or discard this patch.
src/Component/Component.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -32,6 +32,9 @@
 block discarded – undo
32 32
         $this->bootIfNotBooted();
33 33
     }
34 34
 
35
+    /**
36
+     * @return string|null
37
+     */
35 38
     public function getTitle()
36 39
     {
37 40
         return $this->title;
Please login to merge, or discard this patch.
src/Component/Concerns/HasPermission.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -87,6 +87,9 @@
 block discarded – undo
87 87
         $this->permissions[$permission] = $callback;
88 88
     }
89 89
 
90
+    /**
91
+     * @param string $permission
92
+     */
90 93
     public function can($permission)
91 94
     {
92 95
         if (!isset($this->permissions[$permission])) {
Please login to merge, or discard this patch.