We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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 | { |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | /** |
240 | 240 | * Remove a column from the CRUD panel by name. |
241 | 241 | * |
242 | - * @param string $column The column key. |
|
242 | + * @param string $columnKey The column key. |
|
243 | 243 | */ |
244 | 244 | public function removeColumn($columnKey) |
245 | 245 | { |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * |
20 | 20 | * TODO: should this delete items with relations to it too? |
21 | 21 | * |
22 | - * @return bool True if the item was deleted. |
|
22 | + * @return string True if the item was deleted. |
|
23 | 23 | */ |
24 | 24 | public function delete($id) |
25 | 25 | { |
@@ -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 |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * Order results of the query in a custom way. |
66 | 66 | * |
67 | 67 | * @param array $column Column array with all attributes |
68 | - * @param string $column_direction ASC or DESC |
|
68 | + * @param string $columnDirection ASC or DESC |
|
69 | 69 | * |
70 | 70 | * @return \Illuminate\Database\Eloquent\Builder |
71 | 71 | */ |
@@ -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 | */ |