@@ -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; |