Skip to content

Commit

Permalink
single line
Browse files Browse the repository at this point in the history
  • Loading branch information
juliangut committed Sep 29, 2023
1 parent 6cccc6c commit 55dca82
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Metadata/MetadataResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ function (array $mappingSource): array {
);
$metadata = \count($metadata) > 0 ? array_merge(...$metadata) : [];

if ($this->cache !== null) {
$this->cache->set($cacheKey, $metadata);
}
$this->cache?->set($cacheKey, $metadata);

return $metadata;
}
Expand Down

0 comments on commit 55dca82

Please sign in to comment.