We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -62,7 +62,7 @@ |
||
62 | 62 | * Order results of the query in a custom way. |
63 | 63 | * |
64 | 64 | * @param array $column Column array with all attributes |
65 | - * @param string $column_direction ASC or DESC |
|
65 | + * @param string $columnDirection ASC or DESC |
|
66 | 66 | * |
67 | 67 | * @return \Illuminate\Database\Eloquent\Builder |
68 | 68 | */ |
@@ -62,6 +62,9 @@ discard block |
||
62 | 62 | $this->addButton($stack, $name, 'model_function', $model_function_name, $position); |
63 | 63 | } |
64 | 64 | |
65 | + /** |
|
66 | + * @param string $view |
|
67 | + */ |
|
65 | 68 | public function addButtonFromView($stack, $name, $view, $position = false) |
66 | 69 | { |
67 | 70 | $view = 'crud::buttons.'.$view; |
@@ -139,6 +142,9 @@ discard block |
||
139 | 142 | $this->buttons = collect([]); |
140 | 143 | } |
141 | 144 | |
145 | + /** |
|
146 | + * @param string $stack |
|
147 | + */ |
|
142 | 148 | public function removeAllButtonsFromStack($stack) |
143 | 149 | { |
144 | 150 | $this->buttons = $this->buttons->reject(function ($button) use ($stack) { |
@@ -161,6 +167,12 @@ discard block |
||
161 | 167 | public $type = 'view'; |
162 | 168 | public $content; |
163 | 169 | |
170 | + /** |
|
171 | + * @param string $stack |
|
172 | + * @param string $name |
|
173 | + * @param string $type |
|
174 | + * @param string $content |
|
175 | + */ |
|
164 | 176 | public function __construct($stack, $name, $type, $content) |
165 | 177 | { |
166 | 178 | $this->stack = $stack; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | /** |
25 | 25 | * Create duplicates of multiple entries in the datatabase. |
26 | 26 | * |
27 | - * @param int $id |
|
28 | 27 | * |
29 | 28 | * @return Response |
30 | 29 | */ |
@@ -26,7 +26,7 @@ |
||
26 | 26 | * |
27 | 27 | * @param int $id |
28 | 28 | * |
29 | - * @return Response |
|
29 | + * @return string |
|
30 | 30 | */ |
31 | 31 | public function clone($id) |
32 | 32 | { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | /** |
10 | 10 | * Define which routes are needed for this operation. |
11 | 11 | * |
12 | - * @param string $name Name of the current entity (singular). Used as first URL segment. |
|
13 | 12 | * @param string $routeName Prefix of the route name. |
14 | 13 | * @param string $controller Name of the current CrudController. |
15 | 14 | */ |
@@ -9,7 +9,6 @@ |
||
9 | 9 | /** |
10 | 10 | * Define which routes are needed for this operation. |
11 | 11 | * |
12 | - * @param string $name Name of the current entity (singular). Used as first URL segment. |
|
13 | 12 | * @param string $routeName Prefix of the route name. |
14 | 13 | * @param string $controller Name of the current CrudController. |
15 | 14 | */ |
@@ -14,11 +14,17 @@ |
||
14 | 14 | |-------------------------------------------------------------------------- |
15 | 15 | */ |
16 | 16 | |
17 | + /** |
|
18 | + * @param string $access |
|
19 | + */ |
|
17 | 20 | public function allowAccess($access) |
18 | 21 | { |
19 | 22 | return $this->access = array_merge(array_diff((array) $access, $this->access), $this->access); |
20 | 23 | } |
21 | 24 | |
25 | + /** |
|
26 | + * @param string $access |
|
27 | + */ |
|
22 | 28 | public function denyAccess($access) |
23 | 29 | { |
24 | 30 | return $this->access = array_diff($this->access, (array) $access); |
@@ -301,6 +301,9 @@ discard block |
||
301 | 301 | return $this->getShowView(); |
302 | 302 | } |
303 | 303 | |
304 | + /** |
|
305 | + * @param string $view |
|
306 | + */ |
|
304 | 307 | public function setPreviewView($view) |
305 | 308 | { |
306 | 309 | return $this->setShowView($view); |
@@ -311,6 +314,9 @@ discard block |
||
311 | 314 | return $this->getEditView(); |
312 | 315 | } |
313 | 316 | |
317 | + /** |
|
318 | + * @param string $view |
|
319 | + */ |
|
314 | 320 | public function setUpdateView($view) |
315 | 321 | { |
316 | 322 | return $this->setEditView($view); |
@@ -405,7 +405,7 @@ |
||
405 | 405 | * Upload fields are the ones that have "upload" => true defined on them. |
406 | 406 | * |
407 | 407 | * @param string $form create/update/both - defaults to 'both' |
408 | - * @param bool|int $id id of the entity - defaults to false |
|
408 | + * @param integer $id id of the entity - defaults to false |
|
409 | 409 | * |
410 | 410 | * @return bool |
411 | 411 | */ |