8000 Merge branch '4.3' into 4.4 · symfony/symfony@373469b · GitHub
[go: up one dir, main page]

Skip to content

Commit 373469b

Browse files
Merge branch '4.3' into 4.4
* 4.3: [Routing] fix bad fix
2 parents 51a2cb6 + 3ab7d57 commit 373469b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Routing/Loader/PhpFileLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function load($file, $type = null)
4040

4141
// the closure forbids access to the private scope in the included file
4242
$loader = $this;
43-
$load = \Closure::bind(static function ($file) {
43+
$load = \Closure::bind(static function ($file) use ($loader) {
4444
return include $file;
4545
}, null, ProtectedPhpFileLoader::class);
4646

0 commit comments

Comments
 (0)
0