Completed
Push — master ( 299893...390b51 )
by Mario
08:21
created
lib/Factory/WeatherFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
     public function createDailyForecastService()
126 126
     {
127 127
         return new DailyForecast(
128
-            $this->httpClient,$this->factory, $this->cache, new DailyForecastHydrator($this->hydratorFactory->create())
128
+            $this->httpClient, $this->factory, $this->cache, new DailyForecastHydrator($this->hydratorFactory->create())
129 129
         );
130 130
     }
131 131
 }
Please login to merge, or discard this patch.
lib/Http/Response/JsonResponse.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
         $this->data = $data;
29 29
 
30 30
         if (is_array($data) && array_key_exists('cod', $data)) {
31
-            $this->httpCode = (int) $data['cod'];
31
+            $this->httpCode = (int)$data['cod'];
32 32
         } else {
33 33
             $this->httpCode = $httpCode;
34 34
         }
Please login to merge, or discard this patch.
lib/Core/Cache/Memcached.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         // as a relative value, so we will make sure that it is converted to a timestamp for consistent
64 64
         // usage later on
65 65
         if ($this->ttl < 60 * 60 * 24 * 30) {
66
-            $this->ttl = time() + (int) $this->ttl;
66
+            $this->ttl = time() + (int)$this->ttl;
67 67
         }
68 68
 
69 69
         $this->memcached->set($cacheKey, $data, $this->ttl);
Please login to merge, or discard this patch.
spec/Core/WeatherServicesSpec.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 use Marek\OpenWeatherMap\Core\WeatherServices;
6 6
 
7 7
 describe(WeatherServices::class, function() {
8
-    describe('->getWeatherService', function(){
8
+    describe('->getWeatherService', function() {
9 9
 
10 10
         it('it is ok', function() {
11 11
             expect(1)->toBe(1);
Please login to merge, or discard this patch.
kahlan-config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,4 +7,4 @@
 block discarded – undo
7 7
 $commandLine = $this->commandLine();
8 8
 
9 9
 // set src directoru to lib
10
-$commandLine->set('src','lib');
10
+$commandLine->set('src', 'lib');
Please login to merge, or discard this patch.