mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-03 22:03:33 +03:00
Fix parameter name boundary in regex
This commit is contained in:
parent
629ee251da
commit
32840bfe75
1 changed files with 1 additions and 1 deletions
|
@ -322,7 +322,7 @@ class ApiDocExtractor
|
|||
}
|
||||
}
|
||||
|
||||
$regexp = '{(\w*) *\$%s *(.*)}i';
|
||||
$regexp = '{(\w*) *\$%s\b *(.*)}i';
|
||||
foreach ($route->compile()->getVariables() as $var) {
|
||||
$found = false;
|
||||
foreach ($paramDocs as $paramDoc) {
|
||||
|
|
Loading…
Add table
Reference in a new issue