Skip to content

Commit 0b8eb24

Browse files
Merge branch '4.4'
* 4.4: Fix travis script [Contracts] Fix branch alias minor fix for wrong case [HttpFoundation] Fix `getMaxFilesize` [Cache] fix warning on PHP 7.4 [Console] fix warning on PHP 7.4 let BlockingStoreInterface extend PersistingStoreInterface Don't add value of (default/static) objects to the signature fix(yml): fix comment in milti line value Make sure trace_level is always defined Ensure $request->hasSession() is always checked before calling getSession() Fix bindings and tagged_locator Recompile container when translations directory changes
2 parents 1fdd6e6 + 6875da3 commit 0b8eb24

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, string $type = null)
4040

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

0 commit comments

Comments
 (0)