Skip to content

Commit

Permalink
Merge branch '5.4' into 6.4
Browse files Browse the repository at this point in the history
* 5.4:
  [Filesystem] Fix Filesystem::remove() on Windows
  [DoctrineBridge] Fix compat with DI >= 6.4
  [String] Fix *String::snake methods
  • Loading branch information
nicolas-grekas committed Jun 28, 2024
2 parents 934e826 + 2c2f0c8 commit 64d024f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ManagerRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ function (&$wrappedInstance, LazyLoadingInterface $manager) use ($name) {
}
if (isset($this->fileMap[$name])) {
$wrappedInstance = $this->load($this->fileMap[$name], false);
} elseif ((new \ReflectionMethod($this, $this->methodMap[$name]))->isStatic()) {
$wrappedInstance = $this->{$this->methodMap[$name]}($this, false);
} else {
$wrappedInstance = $this->{$this->methodMap[$name]}(false);
}
Expand Down

0 comments on commit 64d024f

Please sign in to comment.