Skip to content

Commit

Permalink
Fix wrong implode argument order
Browse files Browse the repository at this point in the history
  • Loading branch information
tobias-93 committed Dec 2, 2019
1 parent c926956 commit cb5c7ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Extractor/ExposedRoutesExtractor.php
Expand Up @@ -253,10 +253,10 @@ protected function buildPattern($domainPatterns)

foreach ($domainPatterns as $domain => $items) {

$patterns[] = '(?P<' . $domain . '>' . implode($items, '|') . ')';
$patterns[] = '(?P<' . $domain . '>' . implode('|', $items) . ')';
}

return implode($patterns, '|');
return implode('|', $patterns);
}

/**
Expand Down

0 comments on commit cb5c7ac

Please sign in to comment.