@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | if($cacheTtl){ |
114 | 114 | if(\is_numeric($cacheTtl)){ |
115 | 115 | $cacheItem->expiresAfter($cacheTtl); |
116 | - }else{ |
|
116 | + } else{ |
|
117 | 117 | $io->error(\sprintf('Invalid ttl value format "%s", must be a valid integer, aborting...', $cacheTtl)); |
118 | 118 | return; |
119 | 119 | } |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | |
122 | 122 | if($autoTypeCast && $castedCacheValue !== $cacheValue){ |
123 | 123 | $io->success(\sprintf('Cache item "%s" set to "%s" for %d seconds (automatically type-casted to %s)', $cacheKey, $cacheValue, $cacheItem->getTtl(), \gettype($castedCacheValue))); |
124 | - }else{ |
|
124 | + } else{ |
|
125 | 125 | $io->success(\sprintf('Cache item "%s" set to "%s" for %d seconds', $cacheKey, $cacheValue, $cacheItem->getTtl())); |
126 | 126 | } |
127 | 127 |