@@ -13,7 +13,7 @@ discard block |
||
| 13 | 13 | |
| 14 | 14 | class ConfigService |
| 15 | 15 | { |
| 16 | - private $configFile = __DIR__ . '/../../config/callingallpapers.ini'; |
|
| 16 | + private $configFile = __DIR__.'/../../config/callingallpapers.ini'; |
|
| 17 | 17 | |
| 18 | 18 | public function __construct() |
| 19 | 19 | { |
@@ -21,6 +21,6 @@ discard block |
||
| 21 | 21 | |
| 22 | 22 | public function getConfiguration(): array |
| 23 | 23 | { |
| 24 | - return parse_ini_file($this->configFile)??[]; |
|
| 24 | + return parse_ini_file($this->configFile) ?? []; |
|
| 25 | 25 | } |
| 26 | 26 | } |
@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | { |
| 45 | 45 | $name = $this->shortenName($cfp->conferenceName); |
| 46 | 46 | $uri = $this->shortenUri($cfp->uri); |
| 47 | - $tags = ' #' . implode(' #', $cfp->tags); |
|
| 47 | + $tags = ' #'.implode(' #', $cfp->tags); |
|
| 48 | 48 | |
| 49 | 49 | $notificationString = sprintf( |
| 50 | 50 | <<<'NOTIFICATION' |
@@ -68,7 +68,7 @@ discard block |
||
| 68 | 68 | if (strlen($name) < 70) { |
| 69 | 69 | return $name; |
| 70 | 70 | } |
| 71 | - return substr($name, 0, 69) . '…'; |
|
| 71 | + return substr($name, 0, 69).'…'; |
|
| 72 | 72 | } |
| 73 | 73 | |
| 74 | 74 | protected function shortenUri($uri) |