From 7c6c350b15bb6072d60f8ee9e7fa9eef08588b3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Ott?= Date: Fri, 16 Aug 2024 13:32:02 +0200 Subject: [PATCH] Testing if we were running into a sonarcloud bug --- src/Module/Controller/ModuleSettingController.php | 2 ++ src/Module/Service/ModuleSettingService.php | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Module/Controller/ModuleSettingController.php b/src/Module/Controller/ModuleSettingController.php index 9d0b091..93f89cc 100644 --- a/src/Module/Controller/ModuleSettingController.php +++ b/src/Module/Controller/ModuleSettingController.php @@ -5,6 +5,8 @@ * See LICENSE file for license details. */ +/* Random comment for testing purpose */ + declare(strict_types=1); namespace OxidEsales\GraphQL\ConfigurationAccess\Module\Controller; diff --git a/src/Module/Service/ModuleSettingService.php b/src/Module/Service/ModuleSettingService.php index 43417b3..4e97136 100644 --- a/src/Module/Service/ModuleSettingService.php +++ b/src/Module/Service/ModuleSettingService.php @@ -33,10 +33,7 @@ public function __construct( public function getIntegerSetting(string $name, string $moduleId): IntegerSetting { - return new IntegerSetting( - $name, - $this->moduleSettingService->getInteger($name, $moduleId) - ); + return new IntegerSetting($name, $this->moduleSettingService->getInteger($name, $moduleId)); } public function getFloatSetting(string $name, string $moduleId): FloatSetting