Skip to content

Commit

Permalink
Bugfix (#290)
Browse files Browse the repository at this point in the history
  • Loading branch information
royduin authored and barryvdh committed Oct 26, 2018
1 parent 9c7ae29 commit 981518d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function findTranslations( $path = null )
"[\),]"; // Close parentheses or new parameter

$stringPattern =
"[^\w|>]" . // Must not have an alphanum or _ or > before real method
"[^\w]" . // Must not have an alphanum before real method
'(' . implode( '|', $functions ) . ')' . // Must start with one of the functions
"\(" . // Match opening parenthesis
"(?P<quote>['\"])" . // Match " or ' and store in {quote}
Expand Down

0 comments on commit 981518d

Please sign in to comment.