Skip to content

Commit 64d024f

Browse files
Merge branch '5.4' into 6.4
* 5.4: [Filesystem] Fix Filesystem::remove() on Windows [DoctrineBridge] Fix compat with DI >= 6.4 [String] Fix *String::snake methods
2 parents 934e826 + 2c2f0c8 commit 64d024f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ManagerRegistry.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ function (&$wrappedInstance, LazyLoadingInterface $manager) use ($name) {
6161
}
6262
if (isset($this->fileMap[$name])) {
6363
$wrappedInstance = $this->load($this->fileMap[$name], false);
64+
} elseif ((new \ReflectionMethod($this, $this->methodMap[$name]))->isStatic()) {
65+
$wrappedInstance = $this->{$this->methodMap[$name]}($this, false);
6466
} else {
6567
$wrappedInstance = $this->{$this->methodMap[$name]}(false);
6668
}

0 commit comments

Comments
 (0)