We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | * Upload fields are the ones that have "upload" => true defined on them. |
128 | 128 | * |
129 | 129 | * @param string $form create/update/both - defaults to 'both' |
130 | - * @param bool|int $id id of the entity - defaults to false |
|
130 | + * @param integer $id id of the entity - defaults to false |
|
131 | 131 | * |
132 | 132 | * @return bool |
133 | 133 | */ |
@@ -162,6 +162,7 @@ discard block |
||
162 | 162 | |
163 | 163 | /** |
164 | 164 | * Set the number of rows that should be show on the list view. |
165 | + * @param integer $value |
|
165 | 166 | */ |
166 | 167 | public function setDefaultPageLength($value) |
167 | 168 | { |
@@ -35,6 +35,7 @@ discard block |
||
35 | 35 | |
36 | 36 | /** |
37 | 37 | * Apply the search logic for each CRUD column. |
38 | + * @param string $searchTerm |
|
38 | 39 | */ |
39 | 40 | public function applySearchLogicForColumn($query, $column, $searchTerm) |
40 | 41 | { |
@@ -230,7 +231,7 @@ discard block |
||
230 | 231 | * |
231 | 232 | * @param string $view |
232 | 233 | * @param array $column |
233 | - * @param object $entry |
|
234 | + * @param \Illuminate\Database\Eloquent\Model $entry |
|
234 | 235 | * @param bool|int $rowNumber The number shown to the user as row number (index) |
235 | 236 | * |
236 | 237 | * @return string |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | |
158 | 158 | /** |
159 | 159 | * Sets the edit content class. |
160 | - * @param string $editContentClass content class |
|
160 | + * @param string $showContentClass content class |
|
161 | 161 | */ |
162 | 162 | public function setShowContentClass(string $showContentClass) |
163 | 163 | { |
@@ -332,6 +332,9 @@ discard block |
||
332 | 332 | return $this->getShowView(); |
333 | 333 | } |
334 | 334 | |
335 | + /** |
|
336 | + * @param string $view |
|
337 | + */ |
|
335 | 338 | public function setPreviewView($view) |
336 | 339 | { |
337 | 340 | return $this->setShowView($view); |
@@ -342,6 +345,9 @@ discard block |
||
342 | 345 | return $this->getEditView(); |
343 | 346 | } |
344 | 347 | |
348 | + /** |
|
349 | + * @param string $view |
|
350 | + */ |
|
345 | 351 | public function setUpdateView($view) |
346 | 352 | { |
347 | 353 | return $this->setEditView($view); |
@@ -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 | */ |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * |
10 | 10 | * @param int $id |
11 | 11 | * |
12 | - * @return Response |
|
12 | + * @return string |
|
13 | 13 | */ |
14 | 14 | public function clone($id) |
15 | 15 | { |
@@ -23,7 +23,6 @@ discard block |
||
23 | 23 | /** |
24 | 24 | * Create duplicates of multiple entries in the datatabase. |
25 | 25 | * |
26 | - * @param int $id |
|
27 | 26 | * |
28 | 27 | * @return Response |
29 | 28 | */ |
@@ -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; |