Completed
Pull Request — master (#9)
by Graham
02:32 queued 13s
created
src/Laravel/CacheItem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function expiresAt($expires)
81 81
     {
82
-        if ($expires instanceof DateTimeInterface && ! $expires instanceof DateTimeImmutable) {
82
+        if ($expires instanceof DateTimeInterface && !$expires instanceof DateTimeImmutable) {
83 83
             $timezone = $expires->getTimezone();
84 84
             $expires = DateTimeImmutable::createFromFormat('U', (string) $expires->getTimestamp(), $timezone);
85 85
             $expires->setTimezone($timezone);
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
     {
98 98
         $this->expires = new DateTimeImmutable();
99 99
 
100
-        if (! $time instanceof DateInterval) {
100
+        if (!$time instanceof DateInterval) {
101 101
             $time = new DateInterval(sprintf('PT%sS', $time));
102 102
         }
103 103
 
Please login to merge, or discard this patch.