Skip to content

Commit cd8b16c

Browse files
authored
Added missing directory to comment.
It was confusing where the InvitationToCodeTransformer.php had to be placed as the comment stated the form folder and the namespace stated Form\DataTransformer as the directory. Putting the file in the form folder and following the rest of the guide caused an error to be thrown.
1 parent 0f2c34a commit cd8b16c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Resources/doc/adding_invitation_registration.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ Create the invitation field::
182182
Create the custom data transformer::
183183

184184
<?php
185-
// src/AppBundle/Form/InvitationToCodeTransformer.php
185+
// src/AppBundle/Form/DataTransformer/InvitationToCodeTransformer.php
186186

187187
namespace AppBundle\Form\DataTransformer;
188188

0 commit comments

Comments
 (0)