From 228a763397ac4cb0e90349a5afbd6602cb64467a Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sat, 3 Nov 2018 18:02:37 +0100 Subject: [PATCH] After Logger::toMonologLevel string|int is normalized to int --- .../FingersCrossed/ChannelLevelActivationStrategy.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php b/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php index 56681c11..31e06a27 100644 --- a/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php +++ b/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php @@ -36,7 +36,7 @@ use Monolog\Logger; class ChannelLevelActivationStrategy implements ActivationStrategyInterface { /** - * @var string|int + * @var int */ private $defaultActionLevel; @@ -46,8 +46,8 @@ class ChannelLevelActivationStrategy implements ActivationStrategyInterface private $channelToActionLevel; /** - * @param int $defaultActionLevel The default action level to be used if the record's category doesn't match any - * @param array $channelToActionLevel An array that maps channel names to action levels. + * @param string|int $defaultActionLevel The default action level to be used if the record's category doesn't match any + * @param array $channelToActionLevel An array that maps channel names to action levels. */ public function __construct($defaultActionLevel, array $channelToActionLevel = []) {