Skip to content

Commit 500d301

Browse files
zspineOskarStark
authored andcommitted
Invalid namespace and method name
1 parent 5b0869f commit 500d301

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
@@ -450,11 +450,11 @@ the ``HubInterface`` object::
450450
// src/Mercure/MyTokenProvider.php
451451
namespace App\Mercure;
452452

453-
use Symfony\Component\Mercure\JWT\TokenProviderInterface;
453+
use Symfony\Component\Mercure\Jwt\TokenProviderInterface;
454454

455455
final class MyTokenProvider implements TokenProviderInterface
456456
{
457-
public function getToken(): string
457+
public function getJwt(): string
458458
{
459459
return 'the-JWT';
460460
}

0 commit comments

Comments
 (0)