Merge branch '5.2' into 5.x

* 5.2:
  [FrameworkBundle] Fix array controller link in debug:router
This commit is contained in:
Nicolas Grekas 2021-04-16 19:22:18 +02:00
commit 02fea49b7e

View File

@ -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';