Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Helper/SlackHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class SlackHelper extends AbstractHelper
* @param String $field
* @param Int $storeId
*/
public function getConfigValue($field, ?int $storeId = null)
public function getConfigValue($field, int|string|null $storeId = null)
{
return $this->scopeConfig->getValue(
$field,
Expand All @@ -28,7 +28,7 @@ public function getConfigValue($field, ?int $storeId = null)
* @param String $code
* @param null $storeId
*/
public function getGeneralConfig($code, ?int $storeId = null)
public function getGeneralConfig($code, int|string|null $storeId = null)
{
return $this->getConfigValue(self::XML_PATH . $code, $storeId);
}
Expand Down