Completed
Push — master ( 17739d...6c5d1a )
by Yaro
07:08
created
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
         if (!$this->find($baseActionIdent) || !$this->find($movableActionIdent)) {
@@ -108,6 +114,9 @@  discard block
 block discarded – undo
108 114
         $this->actions = $actions;
109 115
     }
110 116
 
117
+    /**
118
+     * @param string $baseActionIdent
119
+     */
111 120
     public function moveBefore($baseActionIdent, $movableActionIdent)
112 121
     {
113 122
         if (!$this->find($baseActionIdent) || !$this->find($movableActionIdent)) {
Please login to merge, or discard this patch.