| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 45 | public function createCommentForm(string $threadId, ?string $referrer = null, ?int $parent = null): FormView |
||
| 46 | { |
||
| 47 | $form = $this->formFactory->create( |
||
| 48 | CommentType::class, |
||
| 49 | null, |
||
| 50 | [ |
||
| 51 | 'data_class' => $this->commentClass, |
||
| 52 | 'threadId' => $threadId, |
||
| 53 | 'referrer' => $referrer, |
||
| 54 | 'parent' => $parent, |
||
| 55 | ] |
||
| 56 | ); |
||
| 57 | |||
| 58 | return $form->createView(); |
||
| 59 | } |
||
| 60 | } |
||
| 61 |