Merge branch '3.4' into 4.3

* 3.4:
  [Routing] fix bad fix
This commit is contained in:
Nicolas Grekas 2019-09-24 18:23:04 +02:00
commit 3ab7d57659

View File

@ -40,7 +40,7 @@ class PhpFileLoader extends FileLoader
// the closure forbids access to the private scope in the included file
$loader = $this;
$load = \Closure::bind(static function ($file) {
$load = \Closure::bind(static function ($file) use ($loader) {
return include $file;
}, null, ProtectedPhpFileLoader::class);