@@ -14,7 +14,7 @@ |
||
14 | 14 | $model = new ConfigureForm(); |
15 | 15 | $model->loadSettings(); |
16 | 16 | |
17 | - if ($model->load(Yii::$app->request->post()) && $model->save()) { |
|
17 | + if ( $model->load(Yii::$app->request->post()) && $model->save() ) { |
|
18 | 18 | $this->view->saved(); |
19 | 19 | } |
20 | 20 |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | use _generated\AcceptanceTesterActions; |
21 | 21 | |
22 | - /** |
|
23 | - * Define custom actions here |
|
24 | - */ |
|
22 | + /** |
|
23 | + * Define custom actions here |
|
24 | + */ |
|
25 | 25 | } |
@@ -19,7 +19,7 @@ |
||
19 | 19 | { |
20 | 20 | use _generated\UnitTesterActions; |
21 | 21 | |
22 | - /** |
|
23 | - * Define custom actions here |
|
24 | - */ |
|
22 | + /** |
|
23 | + * Define custom actions here |
|
24 | + */ |
|
25 | 25 | } |
@@ -21,7 +21,7 @@ |
||
21 | 21 | { |
22 | 22 | use _generated\FunctionalTesterActions; |
23 | 23 | |
24 | - /** |
|
25 | - * Define custom actions here |
|
26 | - */ |
|
24 | + /** |
|
25 | + * Define custom actions here |
|
26 | + */ |
|
27 | 27 | } |
@@ -30,7 +30,7 @@ |
||
30 | 30 | */ |
31 | 31 | public static function addDiscordappFrame($event) |
32 | 32 | { |
33 | - if (Yii::$app->user->isGuest) { |
|
33 | + if ( Yii::$app->user->isGuest ) { |
|
34 | 34 | return; |
35 | 35 | } |
36 | 36 | $event->sender->view->registerAssetBundle(Assets::class); |
@@ -10,7 +10,7 @@ discard block |
||
10 | 10 | { |
11 | 11 | |
12 | 12 | public $resourcesPath = 'resources'; |
13 | -<?php |
|
13 | +< ?php |
|
14 | 14 | |
15 | 15 | namespace humhub\modules\discordapp; |
16 | 16 | |
@@ -34,7 +34,7 @@ discard block |
||
34 | 34 | public function getServerUrl() |
35 | 35 | { |
36 | 36 | $url = $this->settings->get('serverUrl'); |
37 | - if (empty($url)) { |
|
37 | + if ( empty($url) ) { |
|
38 | 38 | return 'https://discordapp.com' || 'https://discord.com'; |
39 | 39 | } |
40 | 40 | return $url; |
@@ -52,7 +52,7 @@ discard block |
||
52 | 52 | public function getServerUrl() |
53 | 53 | { |
54 | 54 | $url = $this->settings->get('serverUrl'); |
55 | - if (empty($url)) { |
|
55 | + if ( empty($url) ) { |
|
56 | 56 | return 'https://discordapp.com' || 'https://discord.com'; |
57 | 57 | } |
58 | 58 | return $url; |
@@ -20,7 +20,7 @@ |
||
20 | 20 | { |
21 | 21 | $url = Yii::$app->getModule('discordapp')->getServerUrl() . '/widget?id='; |
22 | 22 | |
23 | - if (!$url) { |
|
23 | + if ( ! $url ) { |
|
24 | 24 | return ''; |
25 | 25 | } |
26 | 26 |