Completed
Pull Request — master (#2)
by Graham
03:27
created
src/Laravel/CacheItem.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     public function expiresAt($expires)
83 83
     {
84
-        if ($expires instanceof DateTimeInterface && ! $expires instanceof DateTimeImmutable) {
84
+        if ($expires instanceof DateTimeInterface && !$expires instanceof DateTimeImmutable) {
85 85
             $expires = DateTimeImmutable::createFromMutable($expires);
86 86
         }
87 87
 
@@ -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.