Skip to content

Commit 5f20923

Browse files
committed
Fix comments
1 parent 6635e57 commit 5f20923

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

check-translations.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,18 +5,18 @@
55
$functions = ['@lang', '__'];
66
$stringPattern =
77
"[^\w]" . // Must not have an alphanum before real method
8-
'(' . implode('|', $functions) . ')' . // Must start with one of the functions
8+
'(' . implode('|', $functions) . ')' . // Must start with one of the functions
99
"\(\s*" . // Match opening parenthesis
1010
"(?P<quote>['\"])" . // Match " or ' and store in {quote}
1111
"(?P<string>(?:\\\k{quote}|(?!\k{quote}).)*)" . // Match any string that can be {quote} escaped
1212
"\k{quote}" . // Match " or ' previously matched
13-
"\s*[\),]"; // Close parentheses or new parameter
13+
"\s*[\),]"; // Close parentheses or new parameter
1414

1515
$labelPattern =
16-
'label=' . // Match `label=`
16+
'label=' . // Match `label=`
1717
"(?P<quote>['\"])" . // Match " or ' and store in {quote}
1818
"(?P<string>(?:\\\k{quote}|(?!\k{quote}).)*)" . // Match any string that can be {quote} escaped
19-
"\k{quote}"; // Match " or ' previously matched
19+
"\k{quote}"; // Match " or ' previously matched
2020

2121
$files = [];
2222
$iterator = new RecursiveDirectoryIterator('resources');

0 commit comments

Comments
 (0)