diff --git a/rate_limiter.rst b/rate_limiter.rst index 3a517c37bd4..5fd453f0534 100644 --- a/rate_limiter.rst +++ b/rate_limiter.rst @@ -646,7 +646,7 @@ Then, inject and use as normal:: use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpFoundation\Response; - use Symfony\Component\RateLimiter\RateLimiterFactory; + use Symfony\Component\RateLimiter\RateLimiterFactoryInterface; class ContactController extends AbstractController {