@@ -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 | { |
@@ -228,7 +228,7 @@ |
||
228 | 228 | /** |
229 | 229 | * Get the generator. |
230 | 230 | * |
231 | - * @return PagePartGenerator |
|
231 | + * @return PageGenerator |
|
232 | 232 | */ |
233 | 233 | protected function createGenerator() |
234 | 234 | { |
@@ -395,7 +395,7 @@ discard block |
||
395 | 395 | * Get an array of fields that need to be added to the entity. |
396 | 396 | * |
397 | 397 | * @param BundleInterface $bundle |
398 | - * @param array $reservedFields |
|
398 | + * @param string[] $reservedFields |
|
399 | 399 | * |
400 | 400 | * @return array |
401 | 401 | */ |
@@ -573,7 +573,7 @@ discard block |
||
573 | 573 | * |
574 | 574 | * @param bool $niceNames |
575 | 575 | * |
576 | - * @return array |
|
576 | + * @return string[] |
|
577 | 577 | */ |
578 | 578 | private function getTypes($niceNames = false) |
579 | 579 | { |
@@ -601,7 +601,7 @@ discard block |
||
601 | 601 | /** |
602 | 602 | * Get all available media types. |
603 | 603 | * |
604 | - * @return array |
|
604 | + * @return string[] |
|
605 | 605 | */ |
606 | 606 | private function getMediaTypes() |
607 | 607 | { |
@@ -91,7 +91,7 @@ discard block |
||
91 | 91 | * @param string|null $extendClass |
92 | 92 | * @param bool $withRepository |
93 | 93 | * |
94 | - * @return array |
|
94 | + * @return string[] |
|
95 | 95 | * @throws \RuntimeException |
96 | 96 | */ |
97 | 97 | protected function generateEntity( |
@@ -175,9 +175,9 @@ discard block |
||
175 | 175 | /** |
176 | 176 | * Generate the entity admin type. |
177 | 177 | * |
178 | - * @param $bundle |
|
179 | - * @param $entityName |
|
180 | - * @param $entityPrefix |
|
178 | + * @param BundleInterface $bundle |
|
179 | + * @param string $entityName |
|
180 | + * @param string $entityPrefix |
|
181 | 181 | * @param array $fields |
182 | 182 | * @param string $extendClass |
183 | 183 | */ |