Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita02bca9

Browse files
committed
Remove Closure::fromCallable
1 parent3c49db7 commita02bca9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/Symfony/Bundle/FrameworkBundle/Command/RouterDebugCommand.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ protected function execute(InputInterface $input, OutputInterface $output): int
8484
$routes =$this->router->getRouteCollection();
8585
$container =null;
8686
if ($this->fileLinkFormatter) {
87-
$container =\Closure::fromCallable(function () {
87+
$container =function () {
8888
return$this->getContainerBuilder($this->getApplication()->getKernel());
89-
});
89+
};
9090
}
9191

9292
if ($name) {

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp