@@ -30,7 +30,7 @@ |
||
| 30 | 30 | * @throws \Cake\Network\Exception\NotFoundException When it missing an arguments or when the file doesn't exist. |
| 31 | 31 | * @throws \Cake\Network\Exception\ForbiddenException When the user is not premium. |
| 32 | 32 | * |
| 33 | - * @return \Cake\Network\Exception\ForbiddenException |
|
| 33 | + * @return Response |
|
| 34 | 34 | * \Cake\Network\Exception\NotFoundException |
| 35 | 35 | * \Cake\Network\Response |
| 36 | 36 | */ |
@@ -122,7 +122,7 @@ |
||
| 122 | 122 | /** |
| 123 | 123 | * Determine if the given user is online or offline. |
| 124 | 124 | * |
| 125 | - * @param App\Model\Entity\User $user The user to check. |
|
| 125 | + * @param User $user The user to check. |
|
| 126 | 126 | * |
| 127 | 127 | * @return bool |
| 128 | 128 | */ |
@@ -1,8 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace App\Controller; |
| 3 | 3 | |
| 4 | -use Cake\Core\Configure; |
|
| 5 | -use Cake\Event\Event; |
|
| 6 | 4 | use Cake\Network\Exception\NotFoundException; |
| 7 | 5 | |
| 8 | 6 | class NotificationsController extends AppController |
@@ -51,7 +51,7 @@ |
||
| 51 | 51 | * Contains information such as the current host, scheme, port, and base |
| 52 | 52 | * directory. |
| 53 | 53 | * |
| 54 | - * @return mixed either false or a string URL. |
|
| 54 | + * @return false|string either false or a string URL. |
|
| 55 | 55 | */ |
| 56 | 56 | public function match(array $url, array $context = []) |
| 57 | 57 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | use Cake\Auth\DefaultPasswordHasher; |
| 5 | 5 | use Cake\Core\Configure; |
| 6 | -use Cake\I18n\Time; |
|
| 7 | 6 | use Cake\ORM\Entity; |
| 8 | 7 | use Cake\ORM\TableRegistry; |
| 9 | 8 | use HTMLPurifier; |