@@ -81,7 +81,7 @@ |
||
81 | 81 | * Get attribute value string. |
82 | 82 | * |
83 | 83 | * @param int $fieldId |
84 | - * @param array $attributes |
|
84 | + * @param Attribute[] $attributes |
|
85 | 85 | * |
86 | 86 | * @return string |
87 | 87 | */ |
@@ -18,8 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * Maps a ValueObject from eZ content repository to a data usable as underlying form data (e.g. create/update struct). |
20 | 20 | * |
21 | - * @param \eZ\Publish\API\Repository\Values\Content\Content $contentDraft |
|
22 | - * @param array $params |
|
21 | + * @param \eZ\Publish\API\Repository\Values\Content\Content $content |
|
23 | 22 | * |
24 | 23 | * @return InformationCollectionStruct |
25 | 24 | */ |
@@ -4,14 +4,12 @@ |
||
4 | 4 | |
5 | 5 | namespace Netgen\InformationCollection\Integration\RepositoryForms; |
6 | 6 | |
7 | -use eZ\Publish\API\Repository\Values\Content\Content; |
|
7 | +use EzSystems\EzPlatformContentForms\Data\Content\FieldData; |
|
8 | +use Netgen\InformationCollection\API\Value\InformationCollectionStruct; |
|
8 | 9 | use eZ\Publish\API\Repository\Values\ContentType\ContentType; |
9 | 10 | use eZ\Publish\API\Repository\Values\ContentType\FieldDefinition; |
11 | +use eZ\Publish\API\Repository\Values\Content\Content; |
|
10 | 12 | use eZ\Publish\API\Repository\Values\ValueObject; |
11 | -use Netgen\InformationCollection\API\Value\InformationCollectionStruct; |
|
12 | -use Symfony\Component\OptionsResolver\OptionsResolver; |
|
13 | -use EzSystems\EzPlatformContentForms\Data\Mapper\FormDataMapperInterface; |
|
14 | -use EzSystems\EzPlatformContentForms\Data\Content\FieldData; |
|
15 | 13 | |
16 | 14 | final class InformationCollectionMapper |
17 | 15 | { |
@@ -6,12 +6,8 @@ |
||
6 | 6 | |
7 | 7 | use EzSystems\EzPlatformContentForms\FieldType\FieldTypeFormMapperDispatcherInterface; |
8 | 8 | use EzSystems\EzPlatformContentForms\Form\Type\Content\BaseContentType; |
9 | -use EzSystems\EzPlatformContentForms\Form\Type\Content\ContentFieldType; |
|
10 | 9 | use Netgen\InformationCollection\API\Value\InformationCollectionStruct; |
11 | 10 | use Symfony\Component\Form\AbstractType; |
12 | -use Symfony\Component\Form\Extension\Core\Type\CollectionType; |
|
13 | -use Symfony\Component\Form\Extension\Core\Type\HiddenType; |
|
14 | -use Symfony\Component\Form\FormBuilderInterface; |
|
15 | 11 | use Symfony\Component\OptionsResolver\OptionsResolver; |
16 | 12 | |
17 | 13 | class InformationCollectionType extends AbstractType |