@@ -10,8 +10,6 @@ |
||
| 10 | 10 | * @license http://opensource.org/licenses/gpl-3.0.html GPL-3.0 License |
| 11 | 11 | */ |
| 12 | 12 | |
| 13 | -use CMS\Event\EventDispatcher; |
|
| 14 | - |
|
| 15 | 13 | if (!function_exists('fieldsInfo')) { |
| 16 | 14 | /** |
| 17 | 15 | * Gets a collection of information of every registered field in the system, or |
@@ -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) |