@@ -46,7 +46,6 @@ discard block |
||
46 | 46 | /** |
47 | 47 | * EmailDataFactory constructor. |
48 | 48 | * |
49 | - * @param array $config |
|
50 | 49 | * @param \eZ\Publish\Core\Helper\TranslationHelper $translationHelper |
51 | 50 | * @param \eZ\Publish\Core\Helper\FieldHelper $fieldHelper |
52 | 51 | * @param \Twig\Environment $twig |
@@ -243,7 +242,7 @@ discard block |
||
243 | 242 | |
244 | 243 | /** |
245 | 244 | * @param string $contentTypeIdentifier |
246 | - * @param array $collectedFields |
|
245 | + * @param \EzSystems\RepositoryForms\Data\Content\FieldData[] $collectedFields |
|
247 | 246 | * |
248 | 247 | * @return BinaryFile[] |
249 | 248 | */ |
@@ -28,6 +28,7 @@ discard block |
||
28 | 28 | * @param \Netgen\InformationCollection\API\Value\InformationCollectionStruct $struct |
29 | 29 | * |
30 | 30 | * @throws \Netgen\InformationCollection\API\Exception\PersistingFailedException |
31 | + * @return void |
|
31 | 32 | */ |
32 | 33 | public function createCollection(InformationCollectionStruct $struct): void; |
33 | 34 | |
@@ -62,7 +63,6 @@ discard block |
||
62 | 63 | /** |
63 | 64 | * Returns collections for given content object. |
64 | 65 | * |
65 | - * @param \Netgen\InformationCollection\API\Value\Filter\ContentId $contentId |
|
66 | 66 | * |
67 | 67 | * @return \Netgen\InformationCollection\API\Value\Collections |
68 | 68 | */ |
@@ -99,6 +99,7 @@ discard block |
||
99 | 99 | * Removes selected collection fields. |
100 | 100 | * |
101 | 101 | * @param \Netgen\InformationCollection\API\Value\Filter\CollectionFields $collectionFields |
102 | + * @return void |
|
102 | 103 | */ |
103 | 104 | public function deleteCollectionFields(CollectionFields $collectionFields): void; |
104 | 105 | |
@@ -106,6 +107,7 @@ discard block |
||
106 | 107 | * Removes whole collections. |
107 | 108 | * |
108 | 109 | * @param \Netgen\InformationCollection\API\Value\Filter\Collections $collections |
110 | + * @return void |
|
109 | 111 | */ |
110 | 112 | public function deleteCollections(FilterCollections $collections): void; |
111 | 113 | |
@@ -113,6 +115,7 @@ discard block |
||
113 | 115 | * Removes whole collections per content. |
114 | 116 | * |
115 | 117 | * @param \Netgen\InformationCollection\API\Value\Filter\Contents $contents |
118 | + * @return void |
|
116 | 119 | */ |
117 | 120 | public function deleteCollectionByContent(Contents $contents): void; |
118 | 121 | |
@@ -121,6 +124,7 @@ discard block |
||
121 | 124 | * |
122 | 125 | * @param \Netgen\InformationCollection\API\Value\Filter\CollectionId $collectionId |
123 | 126 | * @param \Netgen\InformationCollection\API\Value\Attribute $attribute |
127 | + * @return void |
|
124 | 128 | */ |
125 | 129 | public function updateCollectionAttribute(CollectionId $collectionId, Attribute $attribute): void; |
126 | 130 | } |
@@ -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 | */ |
@@ -19,7 +19,7 @@ |
||
19 | 19 | * @param \eZ\Publish\Core\MVC\Symfony\View\ContentValueView $view |
20 | 20 | * @param array $options |
21 | 21 | * |
22 | - * @return array |
|
22 | + * @return ContentValueView |
|
23 | 23 | */ |
24 | 24 | protected function collectInformation(ContentValueView $view, array $options): ContentValueView |
25 | 25 | { |
@@ -32,7 +32,6 @@ |
||
32 | 32 | * InformationCollected constructor. |
33 | 33 | * |
34 | 34 | * @param \Netgen\InformationCollection\API\Value\InformationCollectionStruct $struct |
35 | - * @param \eZ\Publish\API\Repository\Values\Content\Location $location |
|
36 | 35 | * @param array $options |
37 | 36 | */ |
38 | 37 | public function __construct( |
@@ -34,7 +34,6 @@ |
||
34 | 34 | /** |
35 | 35 | * EmailDataFactory constructor. |
36 | 36 | * |
37 | - * @param array $config |
|
38 | 37 | * @param \eZ\Publish\Core\Helper\TranslationHelper $translationHelper |
39 | 38 | * @param \eZ\Publish\Core\Helper\FieldHelper $fieldHelper |
40 | 39 | * @param \Twig\Environment $twig |
@@ -46,7 +46,6 @@ |
||
46 | 46 | /** |
47 | 47 | * EmailDataFactory constructor. |
48 | 48 | * |
49 | - * @param array $config |
|
50 | 49 | * @param \eZ\Publish\Core\Helper\TranslationHelper $translationHelper |
51 | 50 | * @param \eZ\Publish\Core\Helper\FieldHelper $fieldHelper |
52 | 51 | * @param \Twig\Environment $twig |
@@ -122,6 +122,9 @@ |
||
122 | 122 | ); |
123 | 123 | } |
124 | 124 | |
125 | + /** |
|
126 | + * @param integer $userId |
|
127 | + */ |
|
125 | 128 | private function getUser($userId): User |
126 | 129 | { |
127 | 130 | try { |
@@ -33,7 +33,6 @@ |
||
33 | 33 | * CaptchaService constructor. |
34 | 34 | * |
35 | 35 | * @param \eZ\Publish\API\Repository\ContentTypeService $contentTypeService |
36 | - * @param array $config |
|
37 | 36 | */ |
38 | 37 | public function __construct(ContentTypeService $contentTypeService, ConfigResolverInterface $configResolver) |
39 | 38 | { |