From fa4d2c4ce86efc5b7d015552f4924482a8402fa6 Mon Sep 17 00:00:00 2001 From: Florent Morselli Date: Thu, 18 Jan 2024 21:56:53 +0100 Subject: [PATCH] Fix missing return statement --- src/Dto/Shortcut.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dto/Shortcut.php b/src/Dto/Shortcut.php index 985906a..4aebba8 100644 --- a/src/Dto/Shortcut.php +++ b/src/Dto/Shortcut.php @@ -27,13 +27,13 @@ final class Shortcut public function getName(): string|TranslatableInterface { - $this->provideTranslation($this->name); + return $this->provideTranslation($this->name); } #[SerializedName('short_name')] public function getShortName(): string|TranslatableInterface { - $this->provideTranslation($this->shortName); + return $this->provideTranslation($this->shortName); } public function getDescription(): string|TranslatableInterface