@@ -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 | */ |
@@ -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 |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use Cake\Cache\Cache; |
5 | 5 | use Cake\Console\ConsoleOptionParser; |
6 | 6 | use Cake\Console\Shell; |
7 | -use Cake\Utility\Inflector; |
|
8 | 7 | |
9 | 8 | class MaintenanceShell extends Shell |
10 | 9 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use App\Event\Logs; |
6 | 6 | use App\I18n\Language; |
7 | 7 | use Cake\Controller\Controller; |
8 | -use Cake\Core\Configure; |
|
9 | 8 | use Cake\Event\Event; |
10 | 9 | use Cake\I18n\Time; |
11 | 10 |
@@ -4,14 +4,11 @@ |
||
4 | 4 | use App\Event\Notifications; |
5 | 5 | use App\Model\Entity\BlogArticlesComment; |
6 | 6 | use App\Model\Entity\User; |
7 | -use Cake\Controller\ComponentRegistry; |
|
8 | 7 | use Cake\Controller\Controller; |
9 | 8 | use Cake\Event\Event; |
10 | 9 | use Cake\Event\EventListenerInterface; |
11 | 10 | use Cake\Event\EventManager; |
12 | 11 | use Cake\I18n\Time; |
13 | -use Cake\Network\Request; |
|
14 | -use Cake\Network\Response; |
|
15 | 12 | use Cake\ORM\TableRegistry; |
16 | 13 | |
17 | 14 | class Badges implements EventListenerInterface |
@@ -4,7 +4,6 @@ |
||
4 | 4 | use App\Controller\AppController; |
5 | 5 | use Cake\Cache\Cache; |
6 | 6 | use Cake\Core\Configure; |
7 | -use Cake\I18n\Number; |
|
8 | 7 | use Mexitek\PHPColors\Color; |
9 | 8 | use Widop\GoogleAnalytics\Client; |
10 | 9 | use Widop\GoogleAnalytics\Query; |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | * |
32 | 32 | * @param \Cake\Event\Event $event The event that was fired. |
33 | 33 | * |
34 | - * @return array|false |
|
34 | + * @return string|false |
|
35 | 35 | */ |
36 | 36 | public function newArticleStats(Event $event) |
37 | 37 | { |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | * |
53 | 53 | * @param \Cake\Event\Event $event The event that was fired. |
54 | 54 | * |
55 | - * @return array|false |
|
55 | + * @return string|false |
|
56 | 56 | */ |
57 | 57 | public function newArticleCommentStats(Event $event) |
58 | 58 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * |
74 | 74 | * @param \Cake\Event\Event $event The event that was fired. |
75 | 75 | * |
76 | - * @return array|false |
|
76 | + * @return string|false |
|
77 | 77 | */ |
78 | 78 | public function newArticleLikeStats(Event $event) |
79 | 79 | { |