diff --git a/src/ServiceContainer/Provider/ApiClientProvider.php b/src/ServiceContainer/Provider/ApiClientProvider.php index 61e0e84d7..c39c3281f 100644 --- a/src/ServiceContainer/Provider/ApiClientProvider.php +++ b/src/ServiceContainer/Provider/ApiClientProvider.php @@ -44,7 +44,7 @@ public function provide(ServiceContainer $container) 10 ); }); - $container->registerProvider(ExternalAssetsClient::class, static function () use ($container) { + $container->registerProvider(ExternalAssetsClient::class, static function () { return new ExternalAssetsClient( null, 10