Completed
Push — develop ( 2ec659...7f33df )
by Michael
23:05 queued 08:13
created
src/Model/ZoneInfo.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     /**
89 89
      * Returns a UNIX timestamp.
90 90
      *
91
-     * @return int|null
91
+     * @return integer
92 92
      */
93 93
     public function getTimestamp()
94 94
     {
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
98 98
     /**
99 99
      * Returns the UTC offset for this TimeZone.
100 100
      *
101
-     * @return int|null
101
+     * @return integer
102 102
      */
103 103
     public function getUtcOffset()
104 104
     {
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -59,10 +59,10 @@
 block discarded – undo
59 59
         $this->dst          = $dst ? (bool) $dst : null;
60 60
         $this->utcOffset    = $utcOffset ? (int) $utcOffset : null;
61 61
         $this->timestamp    = $timestamp ? (int) $timestamp : null;
62
-        $this->country      = $country ?: $this->getLocation()['country_code'];
62
+        $this->country      = $country ?: $this->getLocation()[ 'country_code' ];
63 63
 
64 64
         if ($this->timestamp) {
65
-            $this->dateTime = (new \DateTimeImmutable('@'.$this->timestamp))->setTimezone($this);
65
+            $this->dateTime = (new \DateTimeImmutable('@' . $this->timestamp))->setTimezone($this);
66 66
         }
67 67
     }
68 68
 
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.