Skip to content

Commit

Permalink
Added support for class name as service id (#2750)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnocon authored and lserwatka committed Sep 16, 2019
1 parent a58be81 commit 199e931
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ private function parseAnnotations($annotations)
// parse array from (numeric key => 'annotation <value>') to (annotation => value)
$methodServices = [];
foreach ($annotations as $annotation) {
if (!preg_match('/^(\w+)\s+\$(\w+)\s+([\w\.\@\%]+)/', $annotation, $matches)) {
if (!preg_match('/^(\w+)\s+\$(\w+)\s+([\w\.\\\@\%]+)/', $annotation, $matches)) {
continue;
}

Expand Down

0 comments on commit 199e931

Please sign in to comment.