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 |
@@ -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 = 'vendor.backpack.crud.buttons.'.$view; |
@@ -98,7 +101,7 @@ discard block |
||
98 | 101 | * @param string $name The button name. |
99 | 102 | * @param array $modifications The attributes and their new values. |
100 | 103 | * |
101 | - * @return CrudButton The button that has suffered the changes, for daisychaining methods. |
|
104 | + * @return Collection The button that has suffered the changes, for daisychaining methods. |
|
102 | 105 | */ |
103 | 106 | public function modifyButton($name, $modifications = null) |
104 | 107 | { |
@@ -138,6 +141,9 @@ discard block |
||
138 | 141 | $this->buttons = collect([]); |
139 | 142 | } |
140 | 143 | |
144 | + /** |
|
145 | + * @param string $stack |
|
146 | + */ |
|
141 | 147 | public function removeAllButtonsFromStack($stack) |
142 | 148 | { |
143 | 149 | $this->buttons = $this->buttons->reject(function ($button) use ($stack) { |
@@ -160,6 +166,12 @@ discard block |
||
160 | 166 | public $type = 'view'; |
161 | 167 | public $content; |
162 | 168 | |
169 | + /** |
|
170 | + * @param string $stack |
|
171 | + * @param string $name |
|
172 | + * @param string $type |
|
173 | + * @param string $content |
|
174 | + */ |
|
163 | 175 | public function __construct($stack, $name, $type, $content) |
164 | 176 | { |
165 | 177 | $this->stack = $stack; |