Skip to content

Commit

Permalink
refactor: add Closure return type #1184
Browse files Browse the repository at this point in the history
  • Loading branch information
spiralbot committed Jan 3, 2025
1 parent a52e5f9 commit e4b93d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/Bootloader/StorageBootloader.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,9 @@ public function init(BinderInterface $binder, EnvironmentInterface $env): void
$binder->bindSingleton(StorageInterface::class, static function (
BucketFactoryInterface $bucketFactory,
StorageConfig $config,
FactoryInterface $factory
) {
FactoryInterface $factory,
): StorageInterface {
$manager = new Storage($config->getDefaultBucket());

$distributions = $config->getDistributions();

foreach ($config->getAdapters() as $name => $adapter) {
Expand Down

0 comments on commit e4b93d6

Please sign in to comment.