Skip to content

Commit 2b4b2df

Browse files
committed
fix: use legacy filter interface with annotations
1 parent b0cc948 commit 2b4b2df

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/Api/FilterLocatorTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
namespace ApiPlatform\Api;
1515

1616
use ApiPlatform\Core\Api\FilterCollection;
17+
use ApiPlatform\Core\Api\FilterInterface;
1718
use ApiPlatform\Exception\InvalidArgumentException;
1819
use Psr\Container\ContainerInterface;
1920

src/Core/Annotation/ApiFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
namespace ApiPlatform\Core\Annotation;
1515

16-
use ApiPlatform\Api\FilterInterface;
16+
use ApiPlatform\Core\Api\FilterInterface;
1717
use ApiPlatform\Exception\InvalidArgumentException;
1818

1919
/**

0 commit comments

Comments
 (0)