Completed
Push — master ( c139be...7e212d )
by wen
14:16
created
src/Form/Elements/Tree.php 1 patch
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,6 +23,10 @@  discard block
 block discarded – undo
23 23
 
24 24
     protected $nodes;
25 25
 
26
+    /**
27
+     * @param string $name
28
+     * @param string $title
29
+     */
26 30
     public function __construct($name, $title, $nodes)
27 31
     {
28 32
         parent::__construct($name, $title);
@@ -99,7 +103,7 @@  discard block
 block discarded – undo
99 103
 
100 104
     /**
101 105
      * @param $nodes
102
-     * @param $parentId
106
+     * @param string $parentId
103 107
      *
104 108
      * @return \Illuminate\Support\Collection
105 109
      */
Please login to merge, or discard this patch.
src/Display/Display.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@
 block discarded – undo
90 90
         return $this;
91 91
     }
92 92
 
93
+    /**
94
+     * @return RepositoryInterface
95
+     */
93 96
     protected function makeRepository()
94 97
     {
95 98
         $repository = app(RepositoryInterface::class)
Please login to merge, or discard this patch.
Unused Use Statements   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,14 +5,14 @@
 block discarded – undo
5 5
 use Illuminate\Contracts\Support\Arrayable;
6 6
 use Illuminate\Database\Eloquent\Builder;
7 7
 use Illuminate\Database\Eloquent\Model;
8
+use Sco\Admin\Contracts\Display\DisplayInterface;
9
+use Sco\Admin\Contracts\Display\Extensions\ExtensionInterface;
10
+use Sco\Admin\Contracts\Display\Filters\FilterInterface;
8 11
 use Sco\Admin\Contracts\Initializable;
9 12
 use Sco\Admin\Contracts\RepositoryInterface;
10
-use Sco\Admin\Contracts\Display\Extensions\ExtensionInterface;
11
-use Sco\Admin\Contracts\Display\DisplayInterface;
12 13
 use Sco\Admin\Display\Extensions\Applies;
13 14
 use Sco\Admin\Display\Extensions\Filters;
14 15
 use Sco\Admin\Display\Extensions\Scopes;
15
-use Sco\Admin\Contracts\Display\Filters\FilterInterface;
16 16
 
17 17
 /**
18 18
  * @method Scopes getScopes() get query scopes
Please login to merge, or discard this patch.