1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 12:47:39 +02:00

After Logger::toMonologLevel string|int is normalized to int

This commit is contained in:
Jordi Boggiano
2018-11-03 18:02:37 +01:00
committed by GitHub
parent dc003d137e
commit 228a763397

View File

@@ -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 = [])
{