Completed
Push — master ( e2a3b3...5d4b38 )
by wen
02:54
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.
src/View/Columns/Column.php 1 patch
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,9 +3,9 @@
 block discarded – undo
3 3
 
4 4
 namespace Sco\Admin\View\Columns;
5 5
 
6
-use JsonSerializable;
7 6
 use Illuminate\Contracts\Support\Arrayable;
8 7
 use Illuminate\Contracts\Support\Jsonable;
8
+use JsonSerializable;
9 9
 use Sco\Admin\Contracts\ColumnInterface;
10 10
 
11 11
 abstract class Column implements ColumnInterface, Arrayable, Jsonable, JsonSerializable
Please login to merge, or discard this patch.