Change return value from getItem in TransientCache
[MAILPOET-3778]
This commit is contained in:
@@ -18,7 +18,7 @@ class TransientCache {
|
||||
|
||||
public function getItem(string $key, int $id): ?array {
|
||||
$items = $this->getItems($key);
|
||||
return $items[$id]['item'] ?? null;
|
||||
return $items[$id] ?? null;
|
||||
}
|
||||
|
||||
public function getOldestCreatedAt(string $key): ?\DateTime {
|
||||
|
Reference in New Issue
Block a user