Skip to content

Commit 26c77ce

Browse files
committed
AggregateServiceProvider should add the static class factory instead of self
1 parent 44ab414 commit 26c77ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ServiceProvider/AggregateServiceProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public function getFactories(): array
6161
return array_reduce(
6262
$this->serviceProviders,
6363
static fn ($factories, $serviceProvider) => array_merge($factories, $serviceProvider->getFactories()),
64-
[self::class => new ServiceFactory($this)]
64+
[static::class => new ServiceFactory($this)]
6565
);
6666
}
6767

0 commit comments

Comments
 (0)