Skip to content

Commit

Permalink
fix: bad merge conflict resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdw committed Jul 31, 2024
1 parent 6bac571 commit 7eb8490
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,8 +90,8 @@ private function getFactoryClass(Name $model, Scope $scope): string|null
}

/** @var class-string<Model> $className */
$className = ltrim($class->toCodeString(), '\\');
$factoryName = Factory::resolveFactoryName($className);
$className = ltrim($model->toCodeString(), '\\');
$factoryClass = Factory::resolveFactoryName($className);

if (class_exists($factoryClass)) {
return $factoryClass;
Expand Down

0 comments on commit 7eb8490

Please sign in to comment.