Merge branch '4.4'
* 4.4: [Routing] fix bad fix
This commit is contained in:
commit
906aad95e6
@ -40,7 +40,7 @@ class PhpFileLoader extends FileLoader
|
|||||||
|
|
||||||
// the closure forbids access to the private scope in the included file
|
// the closure forbids access to the private scope in the included file
|
||||||
$loader = $this;
|
$loader = $this;
|
||||||
$load = \Closure::bind(static function ($file) {
|
$load = \Closure::bind(static function ($file) use ($loader) {
|
||||||
return include $file;
|
return include $file;
|
||||||
}, null, ProtectedPhpFileLoader::class);
|
}, null, ProtectedPhpFileLoader::class);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user