From 868e0afe80a38df4fb8cbf4ad156dcdaae497e27 Mon Sep 17 00:00:00 2001 From: Thomas Gelf Date: Tue, 16 May 2023 11:19:12 +0200 Subject: [PATCH] BasketDiff: return type is stdClass --- library/Director/DirectorObject/Automation/BasketDiff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Director/DirectorObject/Automation/BasketDiff.php b/library/Director/DirectorObject/Automation/BasketDiff.php index 825de27d..08873781 100644 --- a/library/Director/DirectorObject/Automation/BasketDiff.php +++ b/library/Director/DirectorObject/Automation/BasketDiff.php @@ -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);