Completed
Branch master (d5818a)
by Yaro
08:10 queued 10s
created
src/Jarboe/Table/Fields/Traits/Storage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -52,6 +52,9 @@
 block discarded – undo
52 52
         return $this;
53 53
     }
54 54
 
55
+    /**
56
+     * @return string
57
+     */
55 58
     public function getPath()
56 59
     {
57 60
         return $this->path;
Please login to merge, or discard this patch.
src/Jarboe/Table/Fields/Traits/Relations.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -254,6 +254,9 @@
 block discarded – undo
254 254
         return $this;
255 255
     }
256 256
 
257
+    /**
258
+     * @return integer
259
+     */
257 260
     abstract public function getModel();
258 261
     abstract public function isMultiple();
259 262
 }
Please login to merge, or discard this patch.
src/Jarboe/Table/Actions/ActionsContainer.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@  discard block
 block discarded – undo
64 64
         $this->add($actions);
65 65
     }
66 66
 
67
+    /**
68
+     * @param string $ident
69
+     */
67 70
     public function isAllowed($ident, $model = null): bool
68 71
     {
69 72
         $action = $this->find($ident);
@@ -84,6 +87,9 @@  discard block
 block discarded – undo
84 87
         return $action->shouldRender($model);
85 88
     }
86 89
 
90
+    /**
91
+     * @param string $baseActionIdent
92
+     */
87 93
     public function moveAfter($baseActionIdent, $movableActionIdent)
88 94
     {
89 95
         $actions = [];
@@ -102,6 +108,9 @@  discard block
 block discarded – undo
102 108
         $this->actions = $actions;
103 109
     }
104 110
 
111
+    /**
112
+     * @param string $baseActionIdent
113
+     */
105 114
     public function moveBefore($baseActionIdent, $movableActionIdent)
106 115
     {
107 116
         $actions = [];
Please login to merge, or discard this patch.
src/Jarboe/Table/Fields/Image.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,10 +4,10 @@
 block discarded – undo
4 4
 
5 5
 use Illuminate\Http\Request;
6 6
 use Illuminate\Http\UploadedFile;
7
-use Yaro\Jarboe\Table\Fields\Traits\Placeholder;
8
-use Yaro\Jarboe\Table\Fields\Traits\Storage;
9 7
 use Illuminate\Support\Facades\Storage as IlluminateStorage;
10 8
 use Intervention\Image\ImageManagerStatic as InterventionImage;
9
+use Yaro\Jarboe\Table\Fields\Traits\Placeholder;
10
+use Yaro\Jarboe\Table\Fields\Traits\Storage;
11 11
 
12 12
 class Image extends AbstractField
13 13
 {
Please login to merge, or discard this patch.
src/Jarboe/Table/Fields/Traits/Clipboard.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Yaro\Jarboe\Table\Fields\Traits;
4 4
 
5
-use Illuminate\Http\Request;
6
-use Illuminate\Http\UploadedFile;
7
-use Illuminate\Support\Facades\Storage as IlluminateStorage;
8
-
9 5
 trait Clipboard
10 6
 {
11 7
     protected $clipboard = false;
Please login to merge, or discard this patch.
src/Jarboe/Table/Fields/Traits/Tooltip.php 1 patch
Unused Use Statements   -4 removed lines patch added patch discarded remove patch
@@ -2,10 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace Yaro\Jarboe\Table\Fields\Traits;
4 4
 
5
-use Illuminate\Http\Request;
6
-use Illuminate\Http\UploadedFile;
7
-use Illuminate\Support\Facades\Storage as IlluminateStorage;
8
-
9 5
 trait Tooltip
10 6
 {
11 7
     protected $tooltip;
Please login to merge, or discard this patch.
src/Jarboe/Table/Toolbar/Interfaces/ToolInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -43,6 +43,7 @@
 block discarded – undo
43 43
      * Set CRUD object.
44 44
      *
45 45
      * @param CRUD $crud
46
+     * @return void
46 47
      */
47 48
     public function setCrud(CRUD $crud);
48 49
 
Please login to merge, or discard this patch.
src/Jarboe/Http/Controllers/Traits/Handlers/CreateHandlerTrait.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -60,5 +60,9 @@
 block discarded – undo
60 60
     abstract protected function init();
61 61
     abstract protected function bound();
62 62
     abstract protected function crud(): CRUD;
63
+
64
+    /**
65
+     * @param string $action
66
+     */
63 67
     abstract protected function can($action): bool;
64 68
 }
Please login to merge, or discard this patch.
src/Jarboe/Http/Controllers/Traits/Handlers/SearchRelationHandlerTrait.php 1 patch
Doc Comments   -3 removed lines patch added patch discarded remove patch
@@ -12,9 +12,6 @@
 block discarded – undo
12 12
      * Handle relation search action.
13 13
      * Currently used for SelectField with type `select2` and `ajax = true`.
14 14
      *
15
-     * @param string $field
16
-     * @param string $page
17
-     * @param string $term
18 15
      * @return \Illuminate\Http\JsonResponse
19 16
      */
20 17
     public function searchRelation(Request $request)
Please login to merge, or discard this patch.