@@ -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 | { |
@@ -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 | /** |
@@ -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; |
@@ -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; |
@@ -85,7 +85,7 @@ |
||
85 | 85 | * @param Form $contact contact-form |
86 | 86 | * @param mixed $recipient recipient |
87 | 87 | * @param mixed $sender sender |
88 | - * @return \Cake\Network\Response|void |
|
88 | + * @return \Cake\Http\Response|null |
|
89 | 89 | */ |
90 | 90 | protected function _contact(Form $contact, $recipient, $sender) |
91 | 91 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Saito\Smiley; |
4 | 4 | |
5 | 5 | use Cake\Cache\Cache; |
6 | -use Cake\Core\Configure; |
|
7 | 6 | use Cake\ORM\TableRegistry; |
8 | 7 | |
9 | 8 | class SmileyLoader |
@@ -13,7 +13,6 @@ |
||
13 | 13 | namespace Saito\Test; |
14 | 14 | |
15 | 15 | use App\Test\Fixture\UserFixture; |
16 | - |
|
17 | 16 | use Cake\Core\Configure; |
18 | 17 | use Cake\Event\Event; |
19 | 18 | use Cake\Event\EventManager; |
@@ -2,9 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Saito\Test; |
4 | 4 | |
5 | -use Cake\Event\Event; |
|
6 | -use Cake\Event\EventManager; |
|
7 | - |
|
8 | 5 | trait SecurityMockTrait |
9 | 6 | { |
10 | 7 |
@@ -3,11 +3,9 @@ |
||
3 | 3 | namespace Saito\User\Upload; |
4 | 4 | |
5 | 5 | use App\Model\Entity\User; |
6 | -use Cake\Core\Configure; |
|
7 | 6 | use Cake\Event\Event; |
8 | 7 | use Cake\Event\EventListenerInterface; |
9 | 8 | use Cake\Filesystem\Folder; |
10 | -use Cake\ORM\Entity; |
|
11 | 9 | use Cake\Utility\Text; |
12 | 10 | use Proffer\Lib\ProfferPath; |
13 | 11 |