Completed
Pull Request — develop (#24)
by Michael
09:58 queued 05:57
created
src/Provider/TimeZoneDB.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,6 +99,6 @@
 block discarded – undo
99 99
         // Remove null values.
100 100
         $params = array_filter($params);
101 101
 
102
-        return static::ENDPOINT.'?'.http_build_query($params);
102
+        return static::ENDPOINT . '?' . http_build_query($params);
103 103
     }
104 104
 }
Please login to merge, or discard this patch.
src/Model/ZoneInfoFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
      */
43 43
     private function getValue(array $data, $key)
44 44
     {
45
-        return $this->valueOrNull(\igorw\get_in($data, [$key]));
45
+        return $this->valueOrNull(\igorw\get_in($data, [ $key ]));
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.
src/Model/ZoneInfo.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,10 +58,10 @@
 block discarded – undo
58 58
         $this->dst = $dst ? (bool) $dst : null;
59 59
         $this->utcOffset = $utcOffset ? (int) $utcOffset : null;
60 60
         $this->timestamp = $timestamp ? (int) $timestamp : null;
61
-        $this->country = $country ?: $this->getLocation()['country_code'];
61
+        $this->country = $country ?: $this->getLocation()[ 'country_code' ];
62 62
 
63 63
         if (null !== $this->timestamp) {
64
-            $this->dateTime = (new DateTimeImmutable('@'.$this->timestamp))->setTimezone($this);
64
+            $this->dateTime = (new DateTimeImmutable('@' . $this->timestamp))->setTimezone($this);
65 65
         }
66 66
     }
67 67
 
Please login to merge, or discard this patch.
src/Provider/GoogleMaps.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,13 +105,13 @@
 block discarded – undo
105 105
     {
106 106
         $params = [
107 107
             'key'       => $this->apiKey,
108
-            'location'  => implode(',', [$lat, $lng]),
108
+            'location'  => implode(',', [ $lat, $lng ]),
109 109
             'timestamp' => $timestamp,
110 110
         ];
111 111
 
112 112
         // Remove null values.
113 113
         $params = array_filter($params);
114 114
 
115
-        return static::ENDPOINT.'?'.http_build_query($params);
115
+        return static::ENDPOINT . '?' . http_build_query($params);
116 116
     }
117 117
 }
Please login to merge, or discard this patch.