Merge branch '5.2' into 5.x
* 5.2: [FrameworkBundle] Fix array controller link in debug:router
This commit is contained in:
commit
02fea49b7e
@ -562,6 +562,10 @@ class TextDescriptor extends Descriptor
|
||||
$r = new \ReflectionFunction($controller);
|
||||
}
|
||||
} catch (\ReflectionException $e) {
|
||||
if (\is_array($controller)) {
|
||||
$controller = implode('::', $controller);
|
||||
}
|
||||
|
||||
$id = $controller;
|
||||
$method = '__invoke';
|
||||
|
||||
|
Reference in New Issue
Block a user