Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emhovis committed Feb 6, 2024
1 parent f0c9c10 commit 4261fed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Model/ModelRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ private function generateModelName(Model $model): string

if ($i > 1) {
if (isset($this->registeredModelNames[$base])) {
$this->logger->info(sprintf('Can not assign a name for the model, the name "%s" is now being used %s times', $base, $i), [
$this->logger->info(sprintf('Can not assign a name for the model, the name "%s" has already been taken.', $base), [
'model' => $this->modelToArray($model),
'taken_by' => $this->modelToArray($this->registeredModelNames[$base]),
]);
Expand Down

0 comments on commit 4261fed

Please sign in to comment.