Skip to content

Commit

Permalink
Add missing lines before return
Browse files Browse the repository at this point in the history
  • Loading branch information
hishamco committed Dec 1, 2023
1 parent ab6f43f commit 00ad7cb
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ internal static class ServiceCollectionExtensions
: new ClonedSingletonDescriptor(parent, implementationInstance);

services.Add(cloned);

return services;
}

Expand All @@ -27,6 +28,7 @@ internal static class ServiceCollectionExtensions
{
var cloned = new ClonedSingletonDescriptor(parent, implementationFactory);
collection.Add(cloned);

return collection;
}

Expand All @@ -37,6 +39,7 @@ internal static class ServiceCollectionExtensions
{
var cloned = new ClonedSingletonDescriptor(parent, parent.ServiceKey, implementationFactory);
collection.Add(cloned);

return collection;
}
}
Expand Down

0 comments on commit 00ad7cb

Please sign in to comment.