Skip to content

Commit

Permalink
Fix resetting of managers on kernel reset
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Dec 18, 2019
1 parent 6a81d1c commit fd472d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Registry.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function getEntityManagerForClass($class)

public function reset() : void
{
foreach ($this->getManagerNames() as $managerName) {
foreach ($this->getManagerNames() as $managerName => $serviceId) {
$this->resetManager($managerName);
}
}
Expand Down

0 comments on commit fd472d8

Please sign in to comment.