File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -148,7 +148,7 @@ These are the most important methods that a form type class can define:
148148``finishView() ``
149149 When creating a form type that consists of many fields, this method allows
150150 to modify the "view" of any of those fields. For any other use case, it's
151- recommended to use instead the ``buildView() `` method .
151+ recommended to use ``buildView() `` instead .
152152
153153``getParent() ``
154154 If your custom type is based on another type (i.e. they share some
@@ -467,6 +467,8 @@ defined by the form or be completely independent::
467467 namespace App\Form\Type;
468468
469469 use Doctrine\ORM\EntityManagerInterface;
470+ use Symfony\Component\Form\FormInterface;
471+ use Symfony\Component\Form\FormView;
470472 // ...
471473
472474 class PostalAddressType extends AbstractType
Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ the publicly available URL (e.g. ``https://example.com/.well-known/mercure``).
107107The clients must also bear a `JSON Web Token `_ (JWT)
108108to the Mercure Hub to be authorized to publish updates and, sometimes, to subscribe.
109109
110- This token must be signed with the same secret key as the one used by the Hub to verify the JWT (``!ChangeMe! `` in you use the Docker integration).
110+ This token must be signed with the same secret key as the one used by the Hub to verify the JWT (``!ChangeMe! `` if you use the Docker integration).
111111This secret key must be stored in the ``MERCURE_JWT_SECRET `` environment variable.
112112MercureBundle will use it to automatically generate and sign the needed JWTs.
113113
You can’t perform that action at this time.
0 commit comments