Test Failed
Branch master (fa45c0)
by compolom
10:14
created
Category
src/RssReader.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
     public function __construct()
22 22
     {
23 23
         $dotenv = new Dotenv();
24
-        $dotenv->load(__DIR__.'/.env');
24
+        $dotenv->load(__DIR__ . '/.env');
25 25
         $dir = getenv('CACHEDIR');
26 26
 
27 27
         $this->cacheFile = $dir . '/cacheChannels.txt';
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     public function addChannel(string $url): bool
39 39
     {
40 40
         if (!in_array($url, file($this->cacheFile, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES), true)) {
41
-            return (bool)$this->cache->fwrite($url . PHP_EOL);
41
+            return (bool) $this->cache->fwrite($url . PHP_EOL);
42 42
         }
43 43
 
44 44
         return false;
Please login to merge, or discard this patch.