|
@@ -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.