@@ -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 | /** |
@@ -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 |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use Kunstmaan\AdminBundle\Helper\Menu\MenuBuilder; |
7 | 7 | use Kunstmaan\AdminBundle\Helper\Menu\MenuItem; |
8 | 8 | use Kunstmaan\AdminBundle\Helper\Menu\TopMenuItem; |
9 | - |
|
10 | 9 | use Symfony\Component\HttpFoundation\Request; |
11 | 10 | |
12 | 11 | /** |
@@ -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 | /** |
@@ -61,7 +61,7 @@ |
||
61 | 61 | * @param OutputInterface $output An OutputInterface instance |
62 | 62 | * |
63 | 63 | * @throws \RuntimeException |
64 | - * @return void |
|
64 | + * @return integer|null |
|
65 | 65 | */ |
66 | 66 | protected function execute(InputInterface $input, OutputInterface $output) |
67 | 67 | { |