Skip to content

Commit efda127

Browse files
committed
fixed CS
1 parent c729dc3 commit efda127

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CacheTrait.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ private function doGet(CacheItemPoolInterface $pool, string $key, callable $call
4646

4747
$item = $pool->getItem($key);
4848
$recompute = !$item->isHit() || INF === $beta;
49-
$metadata = $item instanceof ItemInterface ? $item->getMetadata() : array();
49+
$metadata = $item instanceof ItemInterface ? $item->getMetadata() : [];
5050

5151
if (!$recompute && $metadata) {
5252
$expiry = $metadata[ItemInterface::METADATA_EXPIRY] ?? false;

0 commit comments

Comments
 (0)