We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
@@ -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(); |
@@ -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 | */ |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | /** |
| 34 | 34 | * Execute the console command. |
| 35 | 35 | * |
| 36 | - * @return bool|null |
|
| 36 | + * @return false|null |
|
| 37 | 37 | */ |
| 38 | 38 | public function handle() |
| 39 | 39 | { |
@@ -71,9 +71,8 @@ discard block |
||
| 71 | 71 | * Replace the User model, if it was moved to App\Models\User. |
| 72 | 72 | * |
| 73 | 73 | * @param string $stub |
| 74 | - * @param string $name |
|
| 75 | 74 | * |
| 76 | - * @return $this |
|
| 75 | + * @return string |
|
| 77 | 76 | */ |
| 78 | 77 | protected function makeReplacements(&$stub) |
| 79 | 78 | { |
@@ -175,6 +175,7 @@ |
||
| 175 | 175 | |
| 176 | 176 | /** |
| 177 | 177 | * Set the number of rows that should be show on the list view. |
| 178 | + * @param integer $value |
|
| 178 | 179 | */ |
| 179 | 180 | public function setDefaultPageLength($value) |
| 180 | 181 | { |
@@ -301,6 +301,9 @@ discard block |
||
| 301 | 301 | return $this->getShowView(); |
| 302 | 302 | } |
| 303 | 303 | |
| 304 | + /** |
|
| 305 | + * @param string $view |
|
| 306 | + */ |
|
| 304 | 307 | public function setPreviewView($view) |
| 305 | 308 | { |
| 306 | 309 | return $this->setShowView($view); |
@@ -311,6 +314,9 @@ discard block |
||
| 311 | 314 | return $this->getEditView(); |
| 312 | 315 | } |
| 313 | 316 | |
| 317 | + /** |
|
| 318 | + * @param string $view |
|
| 319 | + */ |
|
| 314 | 320 | public function setUpdateView($view) |
| 315 | 321 | { |
| 316 | 322 | return $this->setEditView($view); |
@@ -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 | */ |
@@ -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 | { |
@@ -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 | { |