@@ -11,7 +11,7 @@ |
||
| 11 | 11 | /** |
| 12 | 12 | * Check if this parser is applicable |
| 13 | 13 | * |
| 14 | - * @return bool |
|
| 14 | + * @return integer |
|
| 15 | 15 | */ |
| 16 | 16 | public function canParse($value) |
| 17 | 17 | { |
@@ -12,6 +12,7 @@ discard block |
||
| 12 | 12 | * @param mixed $object |
| 13 | 13 | * @param string $property |
| 14 | 14 | * @param mixed $value |
| 15 | + * @return boolean |
|
| 15 | 16 | */ |
| 16 | 17 | public function canSet($object, $property, $value); |
| 17 | 18 | |
@@ -19,6 +20,7 @@ discard block |
||
| 19 | 20 | * @param mixed $object |
| 20 | 21 | * @param string $property |
| 21 | 22 | * @param mixed $value |
| 23 | + * @return void |
|
| 22 | 24 | */ |
| 23 | 25 | public function set($object, $property, $value); |
| 24 | 26 | } |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | * |
| 119 | 119 | * @param array $params |
| 120 | 120 | * |
| 121 | - * @return array |
|
| 121 | + * @return string |
|
| 122 | 122 | */ |
| 123 | 123 | public function getAddUrlFor(array $params = array()) |
| 124 | 124 | { |
@@ -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 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 | /** |