@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | /** |
36 | 36 | * add new category |
37 | 37 | * |
38 | - * @return \Cake\Network\Response|void |
|
38 | + * @return \Cake\Http\Response|null |
|
39 | 39 | */ |
40 | 40 | public function add() |
41 | 41 | { |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * edit category |
67 | 67 | * |
68 | 68 | * @param string $id category-ID |
69 | - * @return \Cake\Network\Response|void |
|
69 | + * @return \Cake\Http\Response|null |
|
70 | 70 | */ |
71 | 71 | public function edit($id) |
72 | 72 | { |
@@ -106,7 +106,7 @@ discard block |
||
106 | 106 | * |
107 | 107 | * @param string $id category-ID |
108 | 108 | * |
109 | - * @return \Cake\Network\Response|void |
|
109 | + * @return \Cake\Http\Response|null |
|
110 | 110 | */ |
111 | 111 | public function delete($id) |
112 | 112 | { |
@@ -89,7 +89,7 @@ |
||
89 | 89 | * |
90 | 90 | * @param null $id settings-ID |
91 | 91 | * |
92 | - * @return \Cake\Network\Response|void |
|
92 | + * @return \Cake\Http\Response|null |
|
93 | 93 | */ |
94 | 94 | public function edit($id = null) |
95 | 95 | { |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | /** |
46 | 46 | * add user |
47 | 47 | * |
48 | - * @return \Cake\Network\Response|void |
|
48 | + * @return \Cake\Http\Response|null |
|
49 | 49 | */ |
50 | 50 | public function add() |
51 | 51 | { |
@@ -68,7 +68,7 @@ discard block |
||
68 | 68 | * delete user |
69 | 69 | * |
70 | 70 | * @param string $id user-ID |
71 | - * @return \Cake\Network\Response|void |
|
71 | + * @return \Cake\Http\Response|null |
|
72 | 72 | */ |
73 | 73 | public function delete($id) |
74 | 74 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Admin\Controller; |
4 | 4 | |
5 | -use App\Controller\AppController; |
|
6 | 5 | use App\Model\Table\UsersTable; |
7 | 6 | |
8 | 7 | /** |
@@ -15,7 +15,6 @@ |
||
15 | 15 | use App\Controller\AppController; |
16 | 16 | use Cake\Controller\Component\AuthComponent; |
17 | 17 | use Cake\Core\Configure; |
18 | -use Cake\Event\Event; |
|
19 | 18 | |
20 | 19 | /** |
21 | 20 | * Api App Controller |
@@ -566,6 +566,7 @@ |
||
566 | 566 | |
567 | 567 | /** |
568 | 568 | * {@inheritDoc} |
569 | + * @param string $content |
|
569 | 570 | */ |
570 | 571 | protected function _getUrl($content, $attributes) |
571 | 572 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Plugin\BbcodeParser\src\Lib\jBBCode\Definitions; |
4 | 4 | |
5 | 5 | use Cake\Cache\Cache; |
6 | -use Cake\Core\Configure; |
|
7 | 6 | use Plugin\BbcodeParser\src\Lib\Helper\Message; |
8 | 7 | use Plugin\BbcodeParser\src\Lib\Helper\UrlParserTrait; |
9 | 8 | use Saito\DomainParser; |
@@ -137,7 +137,7 @@ |
||
137 | 137 | * |
138 | 138 | * @param string $msg message |
139 | 139 | * |
140 | - * @return bool |
|
140 | + * @return boolean|null |
|
141 | 141 | */ |
142 | 142 | protected function _log($msg) |
143 | 143 | { |
@@ -13,13 +13,11 @@ |
||
13 | 13 | namespace ImageUploader\Test\TestCase\Controller; |
14 | 14 | |
15 | 15 | use Api\Error\Exception\GenericApiException; |
16 | -use Cake\Cache\Cache; |
|
17 | 16 | use Cake\Core\Configure; |
18 | 17 | use Cake\Core\Plugin; |
19 | 18 | use Cake\Filesystem\File; |
20 | 19 | use Cake\Http\Exception\UnauthorizedException; |
21 | 20 | use Cake\ORM\TableRegistry; |
22 | -use claviska\SimpleImage; |
|
23 | 21 | use Saito\Exception\SaitoForbiddenException; |
24 | 22 | use Saito\Test\IntegrationTestCase; |
25 | 23 |
@@ -12,7 +12,6 @@ |
||
12 | 12 | |
13 | 13 | namespace Installer\Test\TestCase\Controller; |
14 | 14 | |
15 | -use App\Model\Table\SettingsTable; |
|
16 | 15 | use Cake\Core\Configure; |
17 | 16 | use Cake\Datasource\ConnectionManager; |
18 | 17 | use Cake\Filesystem\File; |
@@ -10,7 +10,6 @@ |
||
10 | 10 | namespace App\Auth; |
11 | 11 | |
12 | 12 | use Cake\Auth\BaseAuthenticate; |
13 | -use Cake\Core\Configure; |
|
14 | 13 | use Cake\Event\Event; |
15 | 14 | use Cake\Http\Response; |
16 | 15 | use Cake\Http\ServerRequest; |