Skip to content

Commit 70ffa9b

Browse files
committed
minor symfony#15531 [Mercure] Invalid namespace and method name (zspine)
This PR was submitted for the 5.3 branch but it was merged into the 4.4 branch instead. Discussion ---------- [Mercure] Invalid namespace and method name <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `5.x` for features of unreleased versions). --> Commits ------- 500d301 Invalid namespace and method name
2 parents 5b0869f + 500d301 commit 70ffa9b

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)