From b16fd32105e6490ef863b67e4aeb0f83a25bd311 Mon Sep 17 00:00:00 2001 From: Paul Vogel Date: Wed, 6 Aug 2025 14:46:32 +0200 Subject: [PATCH] Add constant type "string" to constants in PatternParser --- src/Parser/PatternParser.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Parser/PatternParser.php b/src/Parser/PatternParser.php index 955cbff..c691789 100644 --- a/src/Parser/PatternParser.php +++ b/src/Parser/PatternParser.php @@ -21,8 +21,8 @@ class PatternParser extends Parser /** * Match constants, see setMatches() */ - const TIME = "time"; - const LEVEL = "level"; + const string TIME = "time"; + const string LEVEL = "level"; /** * @var class-string