Skip to content

Commit 169fe0b

Browse files
authored
Merge pull request #29 from aternosorg/add-const-type
Add constant type "string" to constants in PatternParser
2 parents 4d00719 + b16fd32 commit 169fe0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Parser/PatternParser.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ class PatternParser extends Parser
2121
/**
2222
* Match constants, see setMatches()
2323
*/
24-
const TIME = "time";
25-
const LEVEL = "level";
24+
const string TIME = "time";
25+
const string LEVEL = "level";
2626

2727
/**
2828
* @var class-string<EntryInterface>

0 commit comments

Comments
 (0)