diff --git a/mercure.rst b/mercure.rst index a350ccba706..e5ff26e147a 100644 --- a/mercure.rst +++ b/mercure.rst @@ -450,11 +450,11 @@ the ``HubInterface`` object:: // src/Mercure/MyTokenProvider.php namespace App\Mercure; - use Symfony\Component\Mercure\JWT\TokenProviderInterface; + use Symfony\Component\Mercure\Jwt\TokenProviderInterface; final class MyTokenProvider implements TokenProviderInterface { - public function getToken(): string + public function getJwt(): string { return 'the-JWT'; }