@@ -117,7 +117,7 @@ |
||
117 | 117 | * @param array $options Options given as an array |
118 | 118 | * @param bool $primary Whether this event was triggered as part of a primary |
119 | 119 | * find query or not |
120 | - * @return mixed |
|
120 | + * @return boolean |
|
121 | 121 | */ |
122 | 122 | public function beforeFind(Field $field, array $options, $primary) |
123 | 123 | { |
@@ -11,9 +11,7 @@ |
||
11 | 11 | */ |
12 | 12 | namespace System\Controller\Admin; |
13 | 13 | |
14 | -use Cake\ORM\Entity; |
|
15 | 14 | use Cake\Validation\Validator; |
16 | -use CMS\Core\Plugin; |
|
17 | 15 | use Locale\Utility\LocaleToolbox; |
18 | 16 | use System\Controller\AppController; |
19 | 17 |
@@ -87,7 +87,7 @@ |
||
87 | 87 | /** |
88 | 88 | * Removes "remember me" cookie. |
89 | 89 | * |
90 | - * @param array $event User information given as an array |
|
90 | + * @param Event $event User information given as an array |
|
91 | 91 | * @return void |
92 | 92 | */ |
93 | 93 | public function logout(Event $event, array $user) |
@@ -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 | */ |
@@ -11,8 +11,6 @@ |
||
11 | 11 | */ |
12 | 12 | namespace Captcha\Adapter; |
13 | 13 | |
14 | -use Cake\Core\Configure; |
|
15 | -use Cake\Core\Plugin; |
|
16 | 14 | use Cake\Network\Request; |
17 | 15 | use Cake\View\View; |
18 | 16 | use Captcha\Adapter\BaseAdapter; |
@@ -13,7 +13,6 @@ |
||
13 | 13 | |
14 | 14 | use Cake\Event\Event; |
15 | 15 | use Cake\Event\EventListenerInterface; |
16 | -use CMS\View\ViewModeRegistry; |
|
17 | 16 | use Content\Model\Entity\Content; |
18 | 17 | |
19 | 18 | /** |
@@ -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 |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Search\Operator; |
13 | 13 | |
14 | 14 | use Cake\ORM\Query; |
15 | -use Cake\ORM\Table; |
|
16 | 15 | use Search\Operator\BaseOperator; |
17 | 16 | use Search\Parser\TokenInterface; |
18 | 17 |
@@ -12,7 +12,6 @@ |
||
12 | 12 | namespace Search\Operator; |
13 | 13 | |
14 | 14 | use Cake\ORM\Query; |
15 | -use Cake\ORM\Table; |
|
16 | 15 | use Search\Operator\BaseOperator; |
17 | 16 | use Search\Parser\TokenInterface; |
18 | 17 |