Skip to content

Commit

Permalink
Merge pull request #12 from ahacart-adexos/hotfix/fix_type
Browse files Browse the repository at this point in the history
Fix type to avoid type error due to strict type
  • Loading branch information
thomas-kl1 committed Aug 16, 2022
2 parents b701f61 + 85818a9 commit 9f4ec12
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Handler/RotatingFileHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getInstance(): HandlerInterface
$this->directoryList->getPath(DirectoryList::VAR_DIR),
$this->scopeConfig->getValue($this->filenamePath)
),
$this->scopeConfig->getValue($this->maxFilesPath),
(int) $this->scopeConfig->getValue($this->maxFilesPath),
$this->scopeConfig->getValue($this->levelPath)
);
}
Expand Down
8 changes: 4 additions & 4 deletions Handler/SlackHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@ public function getInstance(): HandlerInterface
$this->scopeConfig->getValue($this->tokenPath),
$this->scopeConfig->getValue($this->channelPath),
$this->scopeConfig->getValue($this->usernamePath),
$this->scopeConfig->getValue($this->useAttachmentPath),
$this->scopeConfig->isSetFlag($this->useAttachmentPath),
$this->scopeConfig->getValue($this->iconEmojiPath),
$this->scopeConfig->getValue($this->levelPath),
$this->scopeConfig->getValue($this->bubblePath),
$this->scopeConfig->getValue($this->useShortAttachmentPath),
$this->scopeConfig->getValue($this->includeContextAndExtraPath)
$this->scopeConfig->isSetFlag($this->bubblePath),
$this->scopeConfig->isSetFlag($this->useShortAttachmentPath),
$this->scopeConfig->isSetFlag($this->includeContextAndExtraPath)
);
}

Expand Down

0 comments on commit 9f4ec12

Please sign in to comment.