mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-02-09 02:59:27 +03:00
Merge branch 'deprecated'
This commit is contained in:
commit
b31ca81d9e
@ -320,6 +320,9 @@ class ApiDocExtractor
|
||||
if (preg_match('{^@param (.+)}', trim($line), $matches)) {
|
||||
$paramDocs[] = $matches[1];
|
||||
}
|
||||
if (preg_match('{^@deprecated\b(.*)}', trim($line), $matches)) {
|
||||
$annotation->setDeprecated(true);
|
||||
}
|
||||
}
|
||||
|
||||
$regexp = '{(\w*) *\$%s\b *(.*)}i';
|
||||
|
Loading…
x
Reference in New Issue
Block a user