@@ -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 | */ |
@@ -259,7 +259,7 @@ |
||
| 259 | 259 | * |
| 260 | 260 | * @param string $dir The application's root directory. |
| 261 | 261 | * @param \Composer\IO\IOInterface $io IO interface to write to console. |
| 262 | - * @return void |
|
| 262 | + * @return null|string |
|
| 263 | 263 | */ |
| 264 | 264 | public static function setSecuritySalt($dir, $io) |
| 265 | 265 | { |
@@ -3,9 +3,6 @@ |
||
| 3 | 3 | |
| 4 | 4 | use App\Controller\AppController; |
| 5 | 5 | use Cake\Cache\Cache; |
| 6 | -use Cake\Core\Configure; |
|
| 7 | -use Cake\Event\Event; |
|
| 8 | -use Cake\Network\Exception\NotFoundException; |
|
| 9 | 6 | |
| 10 | 7 | class SettingsController extends AppController |
| 11 | 8 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | use App\Event\Logs; |
| 5 | 5 | use Cake\Core\Configure; |
| 6 | 6 | use Cake\Event\Event; |
| 7 | -use Endroid\QrCode\QrCode; |
|
| 8 | 7 | use RobThree\Auth\TwoFactorAuth; |
| 9 | 8 | |
| 10 | 9 | class TfaController extends AppController |