Browse Source

Correctif getSectionSettingCurrent

packProduct
Guillaume 3 years ago
parent
commit
9a067cdd2f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Twig/StoreTwigExtension.php

+ 1
- 1
Twig/StoreTwigExtension.php View File

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

public function getSectionSettingCurrent(string $settingName): ?string
public function getSectionSettingCurrent(string $settingName)
{
return $this->settingSolver->getSettingValue($this->getSectionCurrent(), $settingName);
}

Loading…
Cancel
Save