From 57f310a1ca3a7da24aea99174a5b9ceea5cd7c38 Mon Sep 17 00:00:00 2001 From: amiranagram Date: Sat, 12 Mar 2022 15:18:10 +0000 Subject: [PATCH] Fix styling --- src/Services/Parser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Services/Parser.php b/src/Services/Parser.php index 1bde461..9c5a74e 100644 --- a/src/Services/Parser.php +++ b/src/Services/Parser.php @@ -101,7 +101,7 @@ protected function getStrings(SplFileInfo $file): Collection */ protected function searchPattern(string $function): string { - return '/(' . $function . ')\([\r\n\s]{0,}\h*[\'"](.+)[\'"]\h*[\r\n\s]{0,}[),]/U'; + return '/('.$function.')\([\r\n\s]{0,}\h*[\'"](.+)[\'"]\h*[\r\n\s]{0,}[),]/U'; } /**