@@ -11,7 +11,7 @@ |
||
11 | 11 | { |
12 | 12 | /** |
13 | 13 | * @param Request $request |
14 | - * @return null |
|
14 | + * @return Response|null |
|
15 | 15 | */ |
16 | 16 | public function serviceAction(Request $request) |
17 | 17 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\FormBundle\Entity; |
4 | 4 | |
5 | 5 | use ArrayObject; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormBuilderInterface; |
8 | 7 | |
9 | 8 | /** |
@@ -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 Doctrine\Common\Collections\ArrayCollection; |
8 | 7 | use Doctrine\ORM\Mapping as ORM; |
9 | - |
|
10 | 8 | use Kunstmaan\AdminBundle\Entity\EntityInterface; |
11 | 9 | use Kunstmaan\NodeBundle\Entity\Node; |
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,9 +3,7 @@ discard block |
||
3 | 3 | namespace Kunstmaan\FormBundle\Entity\FormSubmissionFieldTypes; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | - |
|
7 | 6 | use Gedmo\Sluggable\Util\Urlizer; |
8 | - |
|
9 | 7 | use Kunstmaan\FormBundle\Entity\FormSubmissionField; |
10 | 8 | use Kunstmaan\FormBundle\Form\FileFormSubmissionType; |
11 | 9 | use Symfony\Component\DependencyInjection\ContainerInterface; |
@@ -13,7 +11,6 @@ discard block |
||
13 | 11 | use Symfony\Component\Form\FormBuilderInterface; |
14 | 12 | use Symfony\Component\HttpFoundation\File\UploadedFile; |
15 | 13 | use Symfony\Component\HttpFoundation\Request; |
16 | - |
|
17 | 14 | use Symfony\Component\Validator\Constraints as Assert; |
18 | 15 | |
19 | 16 | /** |
@@ -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 Doctrine\ORM\Mapping as ORM; |
6 | 6 | use Kunstmaan\FormBundle\Entity\FormAdaptorInterface; |
7 | 7 | use Kunstmaan\PagePartBundle\Entity\AbstractPagePart; |
8 | - |
|
9 | 8 | use Kunstmaan\UtilitiesBundle\Helper\ClassLookup; |
10 | 9 | use Symfony\Component\Validator\Constraints as Assert; |
11 | 10 |
@@ -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 | { |
@@ -3,10 +3,8 @@ |
||
3 | 3 | namespace Kunstmaan\FormBundle\EventListener; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Kunstmaan\FormBundle\Entity\AbstractFormPage; |
8 | 7 | use Kunstmaan\NodeBundle\Event\ConfigureActionMenuEvent; |
9 | - |
|
10 | 8 | use Symfony\Component\Routing\RouterInterface; |
11 | 9 | |
12 | 10 | /** |