We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -59,6 +59,9 @@ discard block |
||
59 | 59 | $this->addButton($stack, $name, 'model_function', $model_function_name, $position); |
60 | 60 | } |
61 | 61 | |
62 | + /** |
|
63 | + * @param string $view |
|
64 | + */ |
|
62 | 65 | public function addButtonFromView($stack, $name, $view, $position = false) |
63 | 66 | { |
64 | 67 | if (! view()->exists($view)) { |
@@ -130,6 +133,9 @@ discard block |
||
130 | 133 | $this->buttons = collect([]); |
131 | 134 | } |
132 | 135 | |
136 | + /** |
|
137 | + * @param string $stack |
|
138 | + */ |
|
133 | 139 | public function removeAllButtonsFromStack($stack) |
134 | 140 | { |
135 | 141 | $this->buttons = $this->buttons->reject(function ($button) use ($stack) { |
@@ -152,6 +158,12 @@ discard block |
||
152 | 158 | public $type = 'view'; |
153 | 159 | public $content; |
154 | 160 | |
161 | + /** |
|
162 | + * @param string $stack |
|
163 | + * @param string $name |
|
164 | + * @param string $type |
|
165 | + * @param string $content |
|
166 | + */ |
|
155 | 167 | public function __construct($stack, $name, $type, $content) |
156 | 168 | { |
157 | 169 | $this->stack = $stack; |