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

Commit 33a65db

Browse files
committed
get Unleash by classname from service container
1 parent 38ec80d commit 33a65db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Middleware/RefreshFeatures.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public function handle(Request $request, Closure $next)
1717

1818
public function terminate()
1919
{
20-
$unleash = app('unleash');
20+
$unleash = app(Unleash::class);
2121
if (!$unleash instanceof Unleash) {
2222
return;
2323
}

0 commit comments

Comments
 (0)