Skip to content

Commit 229862e

Browse files
Merge branch '3.4' into 4.3
* 3.4: [Routing] fix bad fix
2 parents f462f43 + 16e896b commit 229862e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)