Completed
Push — master ( 344924...922541 )
by Mario
05:38
created
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/Weather/Base.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,6 @@
 block discarded – undo
40 40
      * @param HttpClientInterface $client
41 41
      * @param UrlFactory $factory
42 42
      * @param HandlerInterface $handler
43
-     * @param \Marek\OpenWeatherMap\Denormalizer\DenormalizerInterface $hydrator
44 43
      */
45 44
     public function __construct(HttpClientInterface $client, UrlFactory $factory, HandlerInterface $handler, DenormalizerInterface $denormalizer)
46 45
     {
Please login to merge, or discard this patch.
lib/Denormalizer/AbstractDenormalizer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@
 block discarded – undo
37 37
 
38 38
     }
39 39
 
40
+    /**
41
+     * @param string $key
42
+     */
40 43
     protected function getDateTimeFromTimestamp($key, $data)
41 44
     {
42 45
         return empty($data[$key]) ? null : new \DateTimeImmutable("@{$data[$key]}");
Please login to merge, or discard this patch.
lib/API/Value/Parameter/Input/CityName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@
 block discarded – undo
55 55
             return $this->name;
56 56
         }
57 57
 
58
-        return $this->name . ',' . (string) $this->code;
58
+        return $this->name . ',' . (string)$this->code;
59 59
     }
60 60
 
61 61
     /**
Please login to merge, or discard this patch.
lib/API/Value/Parameter/Input/ZipCode.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -36,10 +36,10 @@
 block discarded – undo
36 36
     public function getGetParameterValue()
37 37
     {
38 38
         if (null === $this->countryCode) {
39
-            return (string) $this->zip;
39
+            return (string)$this->zip;
40 40
         }
41 41
 
42
-        return (string) $this->zip . ',' . $this->countryCode;
42
+        return (string)$this->zip . ',' . $this->countryCode;
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
lib/API/Value/Parameter/Input/Latitude.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function getGetParameterValue()
38 38
     {
39
-        return (string) $this->latitude;
39
+        return (string)$this->latitude;
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
lib/API/Value/Parameter/Input/DaysCount.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function getGetParameterValue()
38 38
     {
39
-        return (string) $this->count;
39
+        return (string)$this->count;
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
lib/API/Value/Parameter/Input/CityId.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function getGetParameterValue()
38 38
     {
39
-        return (string) $this->cityId;
39
+        return (string)$this->cityId;
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.
lib/API/Value/Parameter/Input/Longitude.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function getGetParameterValue()
38 38
     {
39
-        return (string) $this->longitude;
39
+        return (string)$this->longitude;
40 40
     }
41 41
 
42 42
     /**
Please login to merge, or discard this patch.