We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572a2d0 commit 4767a66Copy full SHA for 4767a66
app/code/Magento/RemoteStorage/Driver/Adapter/Cache/Generic.php
@@ -13,6 +13,8 @@
13
14
/**
15
* Generic cache implementation for filesystem storage.
16
+ *
17
+ * @SuppressWarnings(PHPMD.UnusedFormalParameter)
18
*/
19
class Generic implements CacheInterface
20
{
@@ -194,11 +196,9 @@ public function getMetadata(string $path): ?array
194
196
return null;
195
197
}
198
$meta = $this->serializer->unserialize($meta);
-
199
if (empty($meta[$path])) {
200
201
202
$this->cacheData[$path] = $meta[$path];
203
return $this->cacheData[$path];
204
0 commit comments