瀏覽代碼

StoreTwigExtension

packProduct
Guillaume 3 年之前
父節點
當前提交
e781534080
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      Twig/StoreTwigExtension.php

+ 1
- 1
Twig/StoreTwigExtension.php 查看文件

@@ -144,7 +144,7 @@ class StoreTwigExtension extends AbstractExtension
return $this->settingSolver->getSettingValue($this->getMerchantCurrent(), $settingName);
}

public function getSectionSetting(SectionInterface $section, string $settingName): string
public function getSectionSetting(SectionInterface $section, string $settingName): ?string
{
return $this->settingSolver->getSettingValue($section, $settingName);
}

Loading…
取消
儲存