Skip to content

Commit 46c9988

Browse files
committed
Review
1 parent 3b6003e commit 46c9988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mercure.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ And here is the controller::
403403
$token = (new Builder())
404404
// set other appropriate JWT claims, such as an expiration date
405405
->set('mercure', ['subscribe' => "http://example.com/user/$username"]) // could also include the security roles, or anything else
406-
->sign(new Sha256(), this->getParameter('mercure_secret_key')) // don't forget to set this parameter! Test value: aVerySecretKey
406+
->sign(new Sha256(), $this->getParameter('mercure_secret_key')) // don't forget to set this parameter! Test value: aVerySecretKey
407407
->getToken();
408408

409409
$response = $this->json(['@id' => '/demo/books/1', 'availability' => 'https://schema.org/InStock']);

0 commit comments

Comments
 (0)