mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-02 15:51:48 +03:00
Fix parameter name boundary in regex
This commit is contained in:
parent
629ee251da
commit
32840bfe75
@ -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…
x
Reference in New Issue
Block a user