mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-29 00:34:05 +02:00
BasketDiff: return type is stdClass
This commit is contained in:
parent
fb10bac7e9
commit
868e0afe80
@ -57,7 +57,7 @@ class BasketDiff
|
|||||||
return $this->fieldResolver;
|
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)) {
|
if ($uuid && $current = BasketSnapshot::instanceByUuid($type, $uuid, $this->db)) {
|
||||||
$exported = $this->exporter->export($current);
|
$exported = $this->exporter->export($current);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user