diff --git a/src/Setting/Infrastructure/ShopSettingRepository.php b/src/Setting/Infrastructure/ShopSettingRepository.php index 503db96..badb8f0 100644 --- a/src/Setting/Infrastructure/ShopSettingRepository.php +++ b/src/Setting/Infrastructure/ShopSettingRepository.php @@ -111,7 +111,7 @@ public function getAssocCollection(string $name): array return $this->getArrayFromSettingValue($setting); } - protected function getShopSetting(string $name): ShopConfigurationSetting + private function getShopSetting(string $name): ShopConfigurationSetting { return $this->configurationSettingDao->get($name, $this->basicContext->getCurrentShopId()); } @@ -147,7 +147,7 @@ public function getSettingsList(): array /** * @throws WrongSettingTypeException */ - protected function checkSettingType(ShopConfigurationSetting $value, string $requiredType): void + private function checkSettingType(ShopConfigurationSetting $value, string $requiredType): void { if ($value->getType() !== $requiredType) { throw new WrongSettingTypeException(); @@ -157,7 +157,7 @@ protected function checkSettingType(ShopConfigurationSetting $value, string $req /** * @throws WrongSettingValueException */ - protected function getArrayFromSettingValue(ShopConfigurationSetting $setting): array + private function getArrayFromSettingValue(ShopConfigurationSetting $setting): array { $value = $setting->getValue();