Skip to content

Commit

Permalink
Merge branch '4.4'
Browse files Browse the repository at this point in the history
* 4.4:
  [Routing] fix bad fix
  • Loading branch information
nicolas-grekas committed Sep 24, 2019
2 parents 2d877b1 + 373469b commit 906aad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Symfony/Component/Routing/Loader/PhpFileLoader.php
Expand Up @@ -40,7 +40,7 @@ public function load($file, string $type = null)

// 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);

Expand Down

0 comments on commit 906aad9

Please sign in to comment.