Skip to content

Commit 0932169

Browse files
authored
Update Documentation/Global/Form/_codesnippets/_CommentController.php
1 parent dbfee07 commit 0932169

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Documentation/Global/Form/_codesnippets/_CommentController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ public function __construct(
1717
) {}
1818

1919
#[IgnoreValidation(['argumentName' => 'newComment'])]
20-
public function commentFormAction(?Comment $newComment = null): ResponseInterface {
20+
public function commentFormAction(?Comment $newComment = null): ResponseInterface
21+
{
2122
if ($newComment === null) {
2223
$newComment = new Comment();
2324
$newComment->setDate(new \DateTime());

0 commit comments

Comments
 (0)