Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.

Commit 627ca7b

Browse files
author
Vito Famiglietti
committed
fix: remove arrow function
1 parent be56693 commit 627ca7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ServiceProvider.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@ public function register()
1919
// Register the main class to use with the facade
2020
$this->app->bind(
2121
BaseFactory::class,
22-
fn ($app) => new Factory($app->make(Dispatcher::class))
22+
function ($app) {
23+
return new Factory($app->make(Dispatcher::class));
24+
}
2325
);
2426
}
2527
}

0 commit comments

Comments
 (0)