@@ -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 | { |
@@ -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 |
@@ -19,7 +19,7 @@ discard block |
||
19 | 19 | public function run() |
20 | 20 | { |
21 | 21 | $data = |
22 | - [ |
|
22 | + [ |
|
23 | 23 | [ |
24 | 24 | 'id' => 1, |
25 | 25 | 'sort' => 1, |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | 'sort' => 17, |
106 | 106 | 'icon' => 'angry', |
107 | 107 | ] |
108 | - ]; |
|
108 | + ]; |
|
109 | 109 | |
110 | 110 | $table = $this->table('smilies'); |
111 | 111 | $table->insert($data)->save(); |