Skip to content

Commit

Permalink
Fix type to avoid type error due to strict type
Browse files Browse the repository at this point in the history
  • Loading branch information
ahacart-adexos authored Aug 16, 2022
1 parent b701f61 commit 85818a9
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 85818a9

Please sign in to comment.