Skip to content

Commit 7db86c9

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Invalid namespace and method name
2 parents 6c14791 + 70ffa9b commit 7db86c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mercure.rst

+2-2
Original file line numberDiff line numberDiff line change
@@ -451,11 +451,11 @@ the ``HubInterface`` object::
451451
// src/Mercure/MyTokenProvider.php
452452
namespace App\Mercure;
453453

454-
use Symfony\Component\Mercure\JWT\TokenProviderInterface;
454+
use Symfony\Component\Mercure\Jwt\TokenProviderInterface;
455455

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

0 commit comments

Comments
 (0)