Skip to content

Commit 25e530f

Browse files
committed
Fixed code syntax of previous change
1 parent 65d45be commit 25e530f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mercure.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -428,9 +428,9 @@ And here is the controller::
428428
$configuration = Configuration::forSymmetricSigner(new Sha256(), $key);
429429
430430
$token = $configuration->builder()
431-
->withClaim('mercure', ['subscribe' => ["http://example.com/books/1"]]) // can also be a URI template, or *
432-
->getToken($configuration->signer(), $configuration->signingKey())
433-
->toString();
431+
->withClaim('mercure', ['subscribe' => ["http://example.com/books/1"]]) // can also be a URI template, or *
432+
->getToken($configuration->signer(), $configuration->signingKey())
433+
->toString();
434434

435435
$response = $this->json(['@id' => '/demo/books/1', 'availability' => 'https://schema.org/InStock']);
436436
$cookie = Cookie::create('mercureAuthorization')

0 commit comments

Comments
 (0)