Skip to content

Commit

Permalink
Update ModelManifest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
lguichard committed Feb 26, 2024
1 parent 68398b1 commit 13e6215
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/Base/ModelManifest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function getRegisteredModel(string $baseModelClass): Model
*/
public function removeModel(string $baseModelClass): void
{
$this->models = $this->models->flip()->forget($baseModelClass);
$this->models = $this->models->flip()->forget($baseModelClass)->flip();
}

/**
Expand Down

0 comments on commit 13e6215

Please sign in to comment.