Skip to content

Commit e37c515

Browse files
authored
Invalid namespace and method name
1 parent 08c643c commit e37c515

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mercure.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -489,11 +489,11 @@ the ``HubInterface`` object::
489489
// src/Mercure/MyTokenProvider.php
490490
namespace App\Mercure;
491491

492-
use Symfony\Component\Mercure\JWT\TokenProviderInterface;
492+
use Symfony\Component\Mercure\Jwt\TokenProviderInterface;
493493

494494
final class MyTokenProvider implements TokenProviderInterface
495495
{
496-
public function getToken(): string
496+
public function getJwt(): string
497497
{
498498
return 'the-JWT';
499499
}

0 commit comments

Comments
 (0)