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:
148
148
``finishView() ``
149
149
When creating a form type that consists of many fields, this method allows
150
150
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 .
152
152
153
153
``getParent() ``
154
154
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::
467
467
namespace App\Form\Type;
468
468
469
469
use Doctrine\ORM\EntityManagerInterface;
470
+ use Symfony\Component\Form\FormInterface;
471
+ use Symfony\Component\Form\FormView;
470
472
// ...
471
473
472
474
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``).
107
107
The clients must also bear a `JSON Web Token `_ (JWT)
108
108
to the Mercure Hub to be authorized to publish updates and, sometimes, to subscribe.
109
109
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).
111
111
This secret key must be stored in the ``MERCURE_JWT_SECRET `` environment variable.
112
112
MercureBundle will use it to automatically generate and sign the needed JWTs.
113
113
You can’t perform that action at this time.
0 commit comments