@@ -87,7 +87,7 @@ |
||
| 87 | 87 | /** |
| 88 | 88 | * Validates the given POST information. |
| 89 | 89 | * |
| 90 | - * @param \Cake\Network\Request $request Current request object, commonly used |
|
| 90 | + * @param \Cake\Http\ServerRequest $request Current request object, commonly used |
|
| 91 | 91 | * to extract POST or Session information. |
| 92 | 92 | * @return bool True if valid, false otherwise |
| 93 | 93 | */ |
@@ -66,7 +66,7 @@ |
||
| 66 | 66 | * $this->Breadcrumb->push('/admin/some/url'); |
| 67 | 67 | * ``` |
| 68 | 68 | * |
| 69 | - * @param array|string|null $crumbs Single crumb or an array of multiple crumbs |
|
| 69 | + * @param string|null $crumbs Single crumb or an array of multiple crumbs |
|
| 70 | 70 | * to push at once. Or null for guess from current URL |
| 71 | 71 | * @param mixed $url If both $crumbs and $url are string values they will be |
| 72 | 72 | * used as `title` and `URL` respectively |
@@ -121,7 +121,7 @@ |
||
| 121 | 121 | * If any of these variables is not present an exception will be throw. |
| 122 | 122 | * |
| 123 | 123 | * @param string $name EAV attribute name |
| 124 | - * @return \Cake\Network\Response |
|
| 124 | + * @return \Cake\Http\Response |
|
| 125 | 125 | * @throws \Cake\Network\Exception\NotFoundException When field instance |
| 126 | 126 | * is not found. |
| 127 | 127 | */ |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | /** |
| 44 | 44 | * Returns the given plugin's file within webroot directory. |
| 45 | 45 | * |
| 46 | - * @return void |
|
| 46 | + * @return \Cake\Http\Response|null |
|
| 47 | 47 | */ |
| 48 | 48 | public function pluginFile() |
| 49 | 49 | { |
@@ -198,7 +198,7 @@ |
||
| 198 | 198 | * Renders theme's "screenshot.png" |
| 199 | 199 | * |
| 200 | 200 | * @param string $themeName Theme's name |
| 201 | - * @return \Cake\Network\Response |
|
| 201 | + * @return \Cake\Http\Response |
|
| 202 | 202 | */ |
| 203 | 203 | public function screenshot($themeName) |
| 204 | 204 | { |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | /** |
| 98 | 98 | * Exports all permissions as a JSON file. |
| 99 | 99 | * |
| 100 | - * @return \Cake\Network\Response Forces JSON download |
|
| 100 | + * @return \Cake\Http\Response Forces JSON download |
|
| 101 | 101 | */ |
| 102 | 102 | public function export() |
| 103 | 103 | { |
@@ -234,7 +234,7 @@ |
||
| 234 | 234 | * Renders the "unauthorized" screen, when an user attempts to access |
| 235 | 235 | * to a restricted area. |
| 236 | 236 | * |
| 237 | - * @return \Cake\Network\Response|null |
|
| 237 | + * @return \Cake\Http\Response|null |
|
| 238 | 238 | */ |
| 239 | 239 | public function unauthorized() |
| 240 | 240 | { |