BasketDiff: return type is stdClass

This commit is contained in:
Thomas Gelf 2023-05-16 11:19:12 +02:00
parent fb10bac7e9
commit 868e0afe80
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class BasketDiff
return $this->fieldResolver;
}
protected function getCurrent(string $type, string $key, ?UuidInterface $uuid = null): ?object
protected function getCurrent(string $type, string $key, ?UuidInterface $uuid = null): ?stdClass
{
if ($uuid && $current = BasketSnapshot::instanceByUuid($type, $uuid, $this->db)) {
$exported = $this->exporter->export($current);