File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 22
33namespace EasyCorp \Bundle \EasyAdminBundle \ArgumentResolver ;
44
5+ use EasyCorp \Bundle \EasyAdminBundle \Contracts \Context \AdminContextInterface ;
56use EasyCorp \Bundle \EasyAdminBundle \Contracts \Provider \AdminContextProviderInterface ;
67use Symfony \Component \HttpFoundation \Request ;
78use Symfony \Component \HttpKernel \Controller \ValueResolverInterface ;
@@ -18,7 +19,7 @@ public function __construct(private AdminContextProviderInterface $adminContextP
1819
1920 public function resolve (Request $ request , ArgumentMetadata $ argument ): iterable
2021 {
21- if (!is_a ($ argument ->getType (), AdminContextProviderInterface ::class, true )) {
22+ if (!is_a ($ argument ->getType (), AdminContextInterface ::class, true )) {
2223 return [];
2324 }
2425
You can’t perform that action at this time.
0 commit comments