From f0723940e4ecfae5d0965c4e524fbf7d31e2e6dd Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 12 Jul 2023 08:59:58 +0300 Subject: [PATCH] type fix --- application/Espo/Controllers/Layout.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/Espo/Controllers/Layout.php b/application/Espo/Controllers/Layout.php index f410fc21ac..2c33f93731 100644 --- a/application/Espo/Controllers/Layout.php +++ b/application/Espo/Controllers/Layout.php @@ -37,6 +37,7 @@ use Espo\Core\Api\Request; use Espo\Core\Exceptions\NotFound; use Espo\Tools\Layout\Service as Service; use Espo\Entities\User; +use stdClass; class Layout { @@ -103,7 +104,7 @@ class Layout } /** - * @return mixed + * @return array|stdClass|null * @throws Forbidden * @throws BadRequest * @throws NotFound @@ -125,7 +126,7 @@ class Layout } /** - * @return mixed + * @return array|stdClass|null * @throws BadRequest * @throws Forbidden * @throws NotFound