We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -113,7 +113,7 @@ |
||
113 | 113 | * |
114 | 114 | * @param string $key Has no operation prepended. (ex: exportButtons) |
115 | 115 | * |
116 | - * @return mixed [description] |
|
116 | + * @return boolean [description] |
|
117 | 117 | */ |
118 | 118 | public function hasOperationSetting(string $key, $operation = null) |
119 | 119 | { |
@@ -107,7 +107,6 @@ |
||
107 | 107 | * for the given operation. |
108 | 108 | * |
109 | 109 | * @param string $inputKey Field or input name. |
110 | - * @param string $operation create / update |
|
111 | 110 | * |
112 | 111 | * @return bool |
113 | 112 | */ |
@@ -38,7 +38,6 @@ |
||
38 | 38 | * Query scope for finding "similar" slugs, used to determine uniqueness. |
39 | 39 | * |
40 | 40 | * @param \Illuminate\Database\Eloquent\Builder $query |
41 | - * @param \Illuminate\Database\Eloquent\Model $model |
|
42 | 41 | * @param string $attribute |
43 | 42 | * @param array $config |
44 | 43 | * @param string $slug |
@@ -8,7 +8,7 @@ discard block |
||
8 | 8 | * Check if the application is running in normal conditions |
9 | 9 | * (production env, not in console, not in unit tests). |
10 | 10 | * |
11 | - * @return void |
|
11 | + * @return boolean |
|
12 | 12 | */ |
13 | 13 | private function runningInProduction() |
14 | 14 | { |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * @param string $url URL to point the request at. |
86 | 86 | * @param array $payload The data you want sent to the URL. |
87 | 87 | * |
88 | - * @return void |
|
88 | + * @return boolean |
|
89 | 89 | */ |
90 | 90 | private function makeCurlRequest($method, $url, $payload) |
91 | 91 | { |
@@ -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 | */ |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | /** |
57 | 57 | * Convenience method to make sure all calls are made to a particular operation. |
58 | 58 | * |
59 | - * @param string|array $operation Operation name in string form |
|
59 | + * @param string|array $operations Operation name in string form |
|
60 | 60 | * @param bool|\Closure $closure Code that calls CrudPanel methods. |
61 | 61 | * |
62 | 62 | * @return void |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * Allc configurations are put inside that operation's namespace. |
72 | 72 | * Ex: show.configuration. |
73 | 73 | * |
74 | - * @param string|array $operation Operation name in string form |
|
74 | + * @param string|array $operations Operation name in string form |
|
75 | 75 | * @param bool|\Closure $closure Code that calls CrudPanel methods. |
76 | 76 | * |
77 | 77 | * @return void |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | * This is called when an operation does setCurrentOperation(). |
94 | 94 | * |
95 | 95 | * |
96 | - * @param string|array $operations [description] |
|
96 | + * @param string $operations [description] |
|
97 | 97 | * |
98 | 98 | * @return void |
99 | 99 | */ |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | /** |
142 | 142 | * Move the most recently added column after the given target column. |
143 | 143 | * |
144 | - * @param string|array $targetColumn The target column name or array. |
|
144 | + * @param string $targetColumn The target column name or array. |
|
145 | 145 | */ |
146 | 146 | public function afterColumn($targetColumn) |
147 | 147 | { |
@@ -161,7 +161,7 @@ discard block |
||
161 | 161 | /** |
162 | 162 | * Move this column to be first in the columns list. |
163 | 163 | * |
164 | - * @return bool|null |
|
164 | + * @return false|null |
|
165 | 165 | */ |
166 | 166 | public function makeFirstColumn() |
167 | 167 | { |
@@ -326,8 +326,6 @@ discard block |
||
326 | 326 | * Check if the create/update form has upload fields. |
327 | 327 | * Upload fields are the ones that have "upload" => true defined on them. |
328 | 328 | * |
329 | - * @param string $form create/update/both - defaults to 'both' |
|
330 | - * @param bool|int $id id of the entity - defaults to false |
|
331 | 329 | * |
332 | 330 | * @return bool |
333 | 331 | */ |
@@ -358,7 +356,7 @@ discard block |
||
358 | 356 | /** |
359 | 357 | * Set an array of field type names as already loaded for the current operation. |
360 | 358 | * |
361 | - * @param array $fieldTypes |
|
359 | + * @param string[] $fieldTypes |
|
362 | 360 | */ |
363 | 361 | public function setLoadedFieldTypes($fieldTypes) |
364 | 362 | { |
@@ -369,7 +367,7 @@ discard block |
||
369 | 367 | * Get a namespaced version of the field type name. |
370 | 368 | * Appends the 'view_namespace' attribute of the field to the `type', using dot notation. |
371 | 369 | * |
372 | - * @param array $field Field array |
|
370 | + * @param string $field Field array |
|
373 | 371 | * @return string Namespaced version of the field type name. Ex: 'text', 'custom.view.path.text' |
374 | 372 | */ |
375 | 373 | public function getFieldTypeWithNamespace($field) |
@@ -30,7 +30,7 @@ |
||
30 | 30 | /** |
31 | 31 | * Execute the console command. |
32 | 32 | * |
33 | - * @return mixed Command-line output |
|
33 | + * @return false|null Command-line output |
|
34 | 34 | */ |
35 | 35 | public function handle() |
36 | 36 | { |