Completed
Push — master ( 6c59a0...1892a3 )
by Mario
06:26
created
lib/API/Value/Parameter/Input/Longitude.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function getGetParameterValue(): string
43 43
     {
44
-        return (string) $this->longitude;
44
+        return (string)$this->longitude;
45 45
     }
46 46
 
47 47
     /**
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     protected function validate(float $longitude): void
61 61
     {
62 62
         if ($longitude < -180 || $longitude > 180) {
63
-            throw new InvalidArgumentException((string) $longitude, 'longitude', self::class);
63
+            throw new InvalidArgumentException((string)$longitude, 'longitude', self::class);
64 64
         }
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
lib/API/Value/Parameter/Input/Latitude.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function getGetParameterValue(): string
43 43
     {
44
-        return (string) $this->latitude;
44
+        return (string)$this->latitude;
45 45
     }
46 46
 
47 47
     /**
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
     protected function validate(float $latitude): void
61 61
     {
62 62
         if ($latitude < -90 || $latitude > 90) {
63
-            throw new InvalidArgumentException((string) $latitude, 'latitude', self::class);
63
+            throw new InvalidArgumentException((string)$latitude, 'latitude', self::class);
64 64
         }
65 65
     }
66 66
 }
Please login to merge, or discard this patch.
lib/API/Value/Parameter/Input/DateTime.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      */
39 39
     public function getGetParameterValue(): string
40 40
     {
41
-        return (string) $this->datetime->getTimestamp();
41
+        return (string)$this->datetime->getTimestamp();
42 42
     }
43 43
 
44 44
     public function getGetParameterName(): string
Please login to merge, or discard this patch.
lib/Http/Response/JsonResponse.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
         $this->data = $data;
31 31
 
32 32
         if (is_array($data) && array_key_exists('cod', $data)) {
33
-            $this->httpCode = (int) $data['cod'];
33
+            $this->httpCode = (int)$data['cod'];
34 34
         } else {
35 35
             $this->httpCode = $httpCode;
36 36
         }
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     public function getMessage(): string
97 97
     {
98 98
         if (is_array($this->data) && array_key_exists('message', $this->data)) {
99
-            return (string) $this->data['message'];
99
+            return (string)$this->data['message'];
100 100
         }
101 101
 
102 102
         return '';
Please login to merge, or discard this patch.