Passed
Push — master ( f6e659...bb9ac5 )
by Patrick
04:00
created
src/ForecastAutomation/Cache/CacheFacade.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -13,14 +13,14 @@
 block discarded – undo
13 13
     public function get($key, $default = null):mixed
14 14
     {
15 15
         //ToDo: Move str_replace to Business + add cache disable option means has = always false
16
-        return $this->getFactory()->createSimpleCache()->get(\str_replace('/','',$key), $default);
16
+        return $this->getFactory()->createSimpleCache()->get(\str_replace('/', '', $key), $default);
17 17
     }
18 18
     public function has($key):bool
19 19
     {
20
-        return $this->getFactory()->createSimpleCache()->has(\str_replace('/','',$key));
20
+        return $this->getFactory()->createSimpleCache()->has(\str_replace('/', '', $key));
21 21
     }
22 22
     public function set($key, $value, $ttl = 600):bool
23 23
     {
24
-        return $this->getFactory()->createSimpleCache()->set(\str_replace('/','',$key), $value, $ttl);
24
+        return $this->getFactory()->createSimpleCache()->set(\str_replace('/', '', $key), $value, $ttl);
25 25
     }
26 26
 }
Please login to merge, or discard this patch.
src/ForecastAutomation/ForecastClient/ForecastClientFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /*
6 6
  * This file is part of forecast.it.fill project.
Please login to merge, or discard this patch.
src/ForecastAutomation/ForecastClient/Business/ForecastApi.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /*
6 6
  * This file is part of forecast.it.fill project.
Please login to merge, or discard this patch.
tests/ForecastAutomationTests/ForecastClient/ForecastClientFacadeTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-declare(strict_types = 1);
3
+declare(strict_types=1);
4 4
 
5 5
 /*
6 6
  * This file is part of forecast.it.fill project.
Please login to merge, or discard this patch.