@@ -77,7 +77,7 @@ discard block |
||
77 | 77 | /** |
78 | 78 | * Get id |
79 | 79 | * |
80 | - * @return integer |
|
80 | + * @return string |
|
81 | 81 | */ |
82 | 82 | public function getId() |
83 | 83 | { |
@@ -173,7 +173,7 @@ discard block |
||
173 | 173 | /** |
174 | 174 | * Set the date when the form submission was created |
175 | 175 | * |
176 | - * @param datetime $created |
|
176 | + * @param DateTime $created |
|
177 | 177 | * |
178 | 178 | * @return FormSubmission |
179 | 179 | */ |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Kunstmaan\FormBundle\Entity; |
4 | 4 | |
5 | 5 | use DateTime; |
6 | - |
|
7 | 6 | use Kunstmaan\AdminBundle\Entity\EntityInterface; |
8 | 7 | use Kunstmaan\NodeBundle\Entity\Node; |
9 | - |
|
10 | 8 | use Doctrine\Common\Collections\ArrayCollection; |
11 | 9 | use Doctrine\ORM\Mapping as ORM; |
12 | 10 |
@@ -67,7 +67,7 @@ discard block |
||
67 | 67 | /** |
68 | 68 | * Get id |
69 | 69 | * |
70 | - * @return integer |
|
70 | + * @return string |
|
71 | 71 | */ |
72 | 72 | public function getId() |
73 | 73 | { |
@@ -163,7 +163,7 @@ discard block |
||
163 | 163 | /** |
164 | 164 | * Get sequence |
165 | 165 | * |
166 | - * @return integer |
|
166 | + * @return string |
|
167 | 167 | */ |
168 | 168 | public function getSequence() |
169 | 169 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\FormBundle\Entity; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | - |
|
7 | 6 | use Symfony\Component\DependencyInjection\ContainerInterface; |
8 | 7 | use Symfony\Component\Form\FormBuilderInterface; |
9 | 8 | use Symfony\Component\Form\Form; |
@@ -24,7 +24,7 @@ |
||
24 | 24 | /** |
25 | 25 | * Returns the default form type for this FormSubmissionField |
26 | 26 | * |
27 | - * @return ChoiceFormSubmissionType |
|
27 | + * @return BooleanFormSubmissionType |
|
28 | 28 | */ |
29 | 29 | public function getDefaultAdminType() |
30 | 30 | { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | /** |
49 | 49 | * Get the label used for this page part |
50 | 50 | * |
51 | - * @return string |
|
51 | + * @return integer |
|
52 | 52 | */ |
53 | 53 | public function getLabel() |
54 | 54 | { |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Kunstmaan\UtilitiesBundle\Helper\ClassLookup; |
6 | 6 | use Kunstmaan\FormBundle\Entity\FormAdaptorInterface; |
7 | 7 | use Kunstmaan\PagePartBundle\Entity\AbstractPagePart; |
8 | - |
|
9 | 8 | use Doctrine\ORM\Mapping as ORM; |
10 | 9 | |
11 | 10 | /** |
@@ -131,7 +131,7 @@ |
||
131 | 131 | /** |
132 | 132 | * Returns the default backend form type for this page part |
133 | 133 | * |
134 | - * @return SingleLineTextPagePartAdminType |
|
134 | + * @return CheckboxPagePartAdminType |
|
135 | 135 | */ |
136 | 136 | public function getDefaultAdminType() |
137 | 137 | { |
@@ -124,7 +124,7 @@ |
||
124 | 124 | /** |
125 | 125 | * Returns the view used in the frontend |
126 | 126 | * |
127 | - * @return mixed |
|
127 | + * @return string |
|
128 | 128 | */ |
129 | 129 | public function getDefaultView() |
130 | 130 | { |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * Get the label |
41 | 41 | * |
42 | - * @return string |
|
42 | + * @return integer |
|
43 | 43 | */ |
44 | 44 | public function getLabel() |
45 | 45 | { |
@@ -15,6 +15,7 @@ |
||
15 | 15 | * @param string $from The from address |
16 | 16 | * @param string $to The to address(es) seperated by \n |
17 | 17 | * @param string $subject The subject |
18 | + * @return void |
|
18 | 19 | */ |
19 | 20 | public function sendContactMail(FormSubmission $submission, $from, $to, $subject); |
20 | 21 |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Kunstmaan\FormBundle\Tests\Entity\PageParts; |
4 | 4 | |
5 | 5 | use ArrayObject; |
6 | - |
|
7 | 6 | use Kunstmaan\FormBundle\Entity\PageParts\ChoicePagePart; |
8 | 7 | use Kunstmaan\FormBundle\Form\ChoicePagePartAdminType; |
9 | - |
|
10 | 8 | use Symfony\Component\Form\FormBuilderInterface; |
11 | 9 | |
12 | 10 | /** |