We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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 | * @return void |
62 | 62 | */ |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | * Allc configurations are put inside that operation's namespace. |
71 | 71 | * Ex: show.configuration. |
72 | 72 | * |
73 | - * @param string|array $operation Operation name in string form |
|
73 | + * @param string|array $operations Operation name in string form |
|
74 | 74 | * @param bool|\Closure $closure Code that calls CrudPanel methods. |
75 | 75 | * @return void |
76 | 76 | */ |
@@ -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 | */ |
@@ -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 |
@@ -102,7 +102,7 @@ |
||
102 | 102 | * Defaults to the current operation. |
103 | 103 | * |
104 | 104 | * @param string $key Has no operation prepended. (ex: exportButtons) |
105 | - * @return mixed [description] |
|
105 | + * @return boolean [description] |
|
106 | 106 | */ |
107 | 107 | public function hasOperationSetting(string $key, $operation = null) |
108 | 108 | { |
@@ -35,6 +35,9 @@ |
||
35 | 35 | return ! $this->tabsEnabled(); |
36 | 36 | } |
37 | 37 | |
38 | + /** |
|
39 | + * @param string $type |
|
40 | + */ |
|
38 | 41 | public function setTabsType($type) |
39 | 42 | { |
40 | 43 | $this->enableTabs(); |
@@ -88,7 +88,6 @@ |
||
88 | 88 | * for the given operation. |
89 | 89 | * |
90 | 90 | * @param string $inputKey Field or input name. |
91 | - * @param string $operation create / update |
|
92 | 91 | * |
93 | 92 | * @return bool |
94 | 93 | */ |
@@ -69,7 +69,7 @@ |
||
69 | 69 | * |
70 | 70 | * @param array $columns - the database columns that contain the JSONs |
71 | 71 | * |
72 | - * @return Model |
|
72 | + * @return CrudTrait |
|
73 | 73 | */ |
74 | 74 | public function withFakes($columns = []) |
75 | 75 | { |
@@ -37,7 +37,6 @@ |
||
37 | 37 | * Query scope for finding "similar" slugs, used to determine uniqueness. |
38 | 38 | * |
39 | 39 | * @param \Illuminate\Database\Eloquent\Builder $query |
40 | - * @param \Illuminate\Database\Eloquent\Model $model |
|
41 | 40 | * @param string $attribute |
42 | 41 | * @param array $config |
43 | 42 | * @param string $slug |
@@ -5,7 +5,7 @@ discard block |
||
5 | 5 | * Appends the configured backpack prefix and returns |
6 | 6 | * the URL using the standard Laravel helpers. |
7 | 7 | * |
8 | - * @param $path |
|
8 | + * @param string $path |
|
9 | 9 | * |
10 | 10 | * @return string |
11 | 11 | */ |
@@ -156,6 +156,7 @@ discard block |
||
156 | 156 | * If that view doesn't exist, it will load the one from the original theme. |
157 | 157 | * |
158 | 158 | * @param string (see config/backpack/base.php) |
159 | + * @param string $view |
|
159 | 160 | * |
160 | 161 | * @return string |
161 | 162 | */ |