@@ -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 | } |
@@ -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 | |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | */ |
| 30 | 30 | public static function addDiscordappFrame($event) |
| 31 | 31 | { |
| 32 | - if (Yii::$app->user->isGuest) { |
|
| 32 | + if ( Yii::$app->user->isGuest ) { |
|
| 33 | 33 | return; |
| 34 | 34 | } |
| 35 | 35 | |
@@ -22,7 +22,7 @@ |
||
| 22 | 22 | public function getServerUrl() |
| 23 | 23 | { |
| 24 | 24 | $url = $this->settings->get('serverUrl'); |
| 25 | - if (empty($url)) { |
|
| 25 | + if ( empty($url) ) { |
|
| 26 | 26 | return 'https://discordapp.com' || 'https://discord.com'; |
| 27 | 27 | } |
| 28 | 28 | return $url; |