@@ -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 | { |
@@ -314,7 +314,7 @@ discard block |
||
| 314 | 314 | * Scopes the given query using the given operator token. |
| 315 | 315 | * |
| 316 | 316 | * @param \Cake\ORM\Query $query The query to scope |
| 317 | - * @param \Search\Token $token Token describing an operator. e.g `-op_name:op_value` |
|
| 317 | + * @param TokenInterface $token Token describing an operator. e.g `-op_name:op_value` |
|
| 318 | 318 | * @return \Cake\ORM\Query Scoped query |
| 319 | 319 | */ |
| 320 | 320 | protected function _scopeOperator(Query $query, TokenInterface $token) |
@@ -326,7 +326,7 @@ discard block |
||
| 326 | 326 | * Scopes the given query using the given words token. |
| 327 | 327 | * |
| 328 | 328 | * @param \Cake\ORM\Query $query The query to scope |
| 329 | - * @param \Search\TokenInterface $token Token describing a words sequence. e.g `this is a phrase` |
|
| 329 | + * @param TokenInterface $token Token describing a words sequence. e.g `this is a phrase` |
|
| 330 | 330 | * @return \Cake\ORM\Query Scoped query |
| 331 | 331 | */ |
| 332 | 332 | protected function _scopeWords(Query $query, TokenInterface $token) |
@@ -359,7 +359,7 @@ discard block |
||
| 359 | 359 | * Similar to "_scopeWords" but using MySQL's fulltext indexes. |
| 360 | 360 | * |
| 361 | 361 | * @param \Cake\ORM\Query $query The query to scope |
| 362 | - * @param \Search\TokenInterface $token Token describing a words sequence. e.g `this is a phrase` |
|
| 362 | + * @param TokenInterface $token Token describing a words sequence. e.g `this is a phrase` |
|
| 363 | 363 | * @return \Cake\ORM\Query Scoped query |
| 364 | 364 | */ |
| 365 | 365 | protected function _scopeWordsInFulltext(Query $query, TokenInterface $token) |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | /** |
| 390 | 390 | * Whether FullText index is available or not and should be used. |
| 391 | 391 | * |
| 392 | - * @return bool True if enabled and should be used, false otherwise |
|
| 392 | + * @return null|boolean True if enabled and should be used, false otherwise |
|
| 393 | 393 | */ |
| 394 | 394 | protected function _isFullTextEnabled() |
| 395 | 395 | { |