mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-03-12 10:36:09 +03:00
Add a note about an empty catch
This commit is contained in:
parent
ceb1d034c8
commit
f810f6a94e
@ -107,6 +107,8 @@ class RouteDescriber implements DescriberInterface
|
|||||||
try {
|
try {
|
||||||
return new \ReflectionMethod($class, $method);
|
return new \ReflectionMethod($class, $method);
|
||||||
} catch (\ReflectionException $e) {
|
} catch (\ReflectionException $e) {
|
||||||
|
// In case we can't reflect the controller, we just
|
||||||
|
// ignore the route
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user