Passed
Pull Request — master (#688)
by
unknown
02:29
created
lib/Phpfastcache/Core/Item/ItemBaseTrait.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -158,9 +158,9 @@
 block discarded – undo
158 158
             $this->eventManager->dispatch('CacheItemExpireAt', $this, $expiration);
159 159
             $this->expirationDate = $expiration;
160 160
         }
161
-        elseif(is_array($expiration) && key_exists("date", $expiration)
161
+        elseif (is_array($expiration) && key_exists("date", $expiration)
162 162
             && key_exists("timezone_type", $expiration) && key_exists("timezone", $expiration)
163
-        ){
163
+        ) {
164 164
             /**
165 165
              * Hack for Zend Server and PhpfastcacheInvalidArgumentException $expiration must be an object implementing the DateTimeInterface got: array
166 166
              */
Please login to merge, or discard this patch.