Skip to content

Commit

Permalink
Fix for ContainerTransientBuilderTrait::addTransient()
Browse files Browse the repository at this point in the history
  • Loading branch information
suhock committed Aug 10, 2023
1 parent f534e76 commit a5bf223
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ abstract protected function getInjector(): InjectorInterface;
*/
public function addTransient(string $className, string|Closure|null $source = null): static
{
$this->addSingletonInstanceProvider(
$this->addTransientInstanceProvider(
$className,
InstanceProviderFactory::createInstanceProvider($this->getInjector(), $this, $className, $source)
);
Expand Down

0 comments on commit a5bf223

Please sign in to comment.