Skip to content

Commit 77f6801

Browse files
authored
change instance of manager (#71)
1 parent f82a413 commit 77f6801

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Middlewares/GuardFeature.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Illuminate\Contracts\Translation\Translator;
88
use Illuminate\Foundation\Application;
99
use Illuminate\Http\Request;
10-
use YlsIdeas\FeatureFlags\Manager;
10+
use YlsIdeas\FeatureFlags\Contracts\Features;
1111
use YlsIdeas\FeatureFlags\Support\StateChecking;
1212

1313
/**
@@ -18,7 +18,7 @@ class GuardFeature
1818
use StateChecking;
1919

2020
public function __construct(
21-
protected Manager $manager,
21+
protected Features $manager,
2222
protected Application $application,
2323
protected Translator $translator,
2424
) {

0 commit comments

Comments
 (0)