diff --git a/src/GraphQL/Service.php b/src/GraphQL/Service.php index 36b1ceeb..0bc0b5c0 100644 --- a/src/GraphQL/Service.php +++ b/src/GraphQL/Service.php @@ -53,7 +53,6 @@ use Pimcore\Model\Factory; use Pimcore\Translation\Translator; use Psr\Container\ContainerInterface; -use stdClass; class Service { @@ -841,7 +840,7 @@ public static function getValueForObject($object, $key, $brickType = null, $bric * @param string $attribute * @param \Closure $callback * - * @return stdclass|null + * @return mixed result of the callback * * @throws \Exception */