Completed
Pull Request — master (#19)
by Wouter
03:14 queued 01:57
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);
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
 
104 104
         $this->expires = new DateTimeImmutable();
105 105
 
106
-        if (! $time instanceof DateInterval) {
106
+        if (!$time instanceof DateInterval) {
107 107
             $time = new DateInterval(sprintf('PT%sS', $time));
108 108
         }
109 109
 
Please login to merge, or discard this patch.