@@ -14,16 +14,14 @@ |
||
14 | 14 | /** |
15 | 15 | * Creates Information collection Form object for given Location object. |
16 | 16 | * |
17 | - * @param \eZ\Publish\API\Repository\Values\Content\Location $location |
|
18 | 17 | * |
19 | - * @return \Symfony\Component\Form\FormBuilderInterface |
|
18 | + * @return FormInterface |
|
20 | 19 | */ |
21 | 20 | public function createForm(Content $content): FormInterface; |
22 | 21 | |
23 | 22 | /** |
24 | 23 | * Creates Information collection Form object for given Location object. |
25 | 24 | * |
26 | - * @param \eZ\Publish\API\Repository\Values\Content\Location $location |
|
27 | 25 | * |
28 | 26 | * @return \Symfony\Component\Form\FormBuilderInterface |
29 | 27 | */ |
@@ -49,7 +49,7 @@ discard block |
||
49 | 49 | * |
50 | 50 | * @param int $contentId Content id |
51 | 51 | * @param array $fields Fields list |
52 | - * @param DateTime|null $date Anonymize collections older that this date |
|
52 | + * @param null|\DateTimeImmutable $date Anonymize collections older that this date |
|
53 | 53 | * |
54 | 54 | * @return int |
55 | 55 | */ |
@@ -73,9 +73,8 @@ discard block |
||
73 | 73 | /** |
74 | 74 | * Map field id's to list of field identifiers. |
75 | 75 | * |
76 | - * @param int $content |
|
77 | 76 | * @param array $fieldIdentifiers |
78 | - * @param mixed $contentId |
|
77 | + * @param integer $contentId |
|
79 | 78 | * |
80 | 79 | * @return array |
81 | 80 | */ |
@@ -93,6 +92,9 @@ discard block |
||
93 | 92 | return $ids; |
94 | 93 | } |
95 | 94 | |
95 | + /** |
|
96 | + * @param integer $contentId |
|
97 | + */ |
|
96 | 98 | private function getCollections($contentId, \DateTimeImmutable $date = null) |
97 | 99 | { |
98 | 100 | if (null === $date) { |
@@ -41,8 +41,6 @@ |
||
41 | 41 | * |
42 | 42 | * @param FormFactoryInterface $formFactory |
43 | 43 | * @param ContentTypeService $contentTypeService |
44 | - * @param RouterInterface $router |
|
45 | - * @param bool $useCsrf |
|
46 | 44 | */ |
47 | 45 | public function __construct(FormFactoryInterface $formFactory, ContentTypeService $contentTypeService) |
48 | 46 | { |
@@ -39,8 +39,8 @@ discard block |
||
39 | 39 | /** |
40 | 40 | * ExporterService constructor. |
41 | 41 | * |
42 | - * @param \Netgen\Bundle\InformationCollectionBundle\Repository\EzInfoCollectionRepository $ezInfoCollectionRepository |
|
43 | - * @param \Netgen\Bundle\InformationCollectionBundle\Repository\EzInfoCollectionAttributeRepository $ezInfoCollectionAttributeRepository |
|
42 | + * @param EzInfoCollectionRepository $ezInfoCollectionRepository |
|
43 | + * @param EzInfoCollectionAttributeRepository $ezInfoCollectionAttributeRepository |
|
44 | 44 | * @param \Symfony\Component\Translation\TranslatorInterface $translator |
45 | 45 | * @param \Netgen\Bundle\InformationCollectionBundle\Core\Persistence\ContentTypeUtils $contentTypeUtils |
46 | 46 | */ |
@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | /** |
99 | 99 | * Get create date from EzInfoCollection as string. |
100 | 100 | * |
101 | - * @param \Netgen\Bundle\InformationCollectionBundle\Entity\EzInfoCollection $ezInfoCollection |
|
101 | + * @param EzInfoCollection $ezInfoCollection |
|
102 | 102 | * |
103 | 103 | * @return string |
104 | 104 | */ |
@@ -52,10 +52,10 @@ discard block |
||
52 | 52 | /** |
53 | 53 | * InformationCollectionService constructor. |
54 | 54 | * |
55 | - * @param \Netgen\Bundle\InformationCollectionBundle\Repository\EzInfoCollectionRepository $ezInfoCollectionRepository |
|
56 | - * @param \Netgen\Bundle\InformationCollectionBundle\Repository\EzInfoCollectionAttributeRepository $ezInfoCollectionAttributeRepository |
|
55 | + * @param EzInfoCollectionRepository $ezInfoCollectionRepository |
|
56 | + * @param EzInfoCollectionAttributeRepository $ezInfoCollectionAttributeRepository |
|
57 | 57 | * @param \eZ\Publish\API\Repository\Repository $repository |
58 | - * @param \Netgen\Bundle\InformationCollectionBundle\Core\Persistence\Gateway\DoctrineDatabase $gateway |
|
58 | + * @param DoctrineDatabase $gateway |
|
59 | 59 | */ |
60 | 60 | public function __construct( |
61 | 61 | EzInfoCollectionRepository $ezInfoCollectionRepository, |
@@ -278,7 +278,7 @@ discard block |
||
278 | 278 | /** |
279 | 279 | * @param int $collectionId |
280 | 280 | * |
281 | - * @return \Netgen\Bundle\InformationCollectionBundle\API\Value\InformationCollection\Collection |
|
281 | + * @return Collection |
|
282 | 282 | */ |
283 | 283 | protected function loadCollection($collectionId) |
284 | 284 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * |
74 | 74 | * @param InformationCollected $value |
75 | 75 | * |
76 | - * @return EmailData |
|
76 | + * @return EmailContent |
|
77 | 77 | */ |
78 | 78 | public function build(InformationCollected $value) |
79 | 79 | { |
@@ -234,7 +234,7 @@ discard block |
||
234 | 234 | } |
235 | 235 | |
236 | 236 | /** |
237 | - * @param $contentTypeIdentifier |
|
237 | + * @param string $contentTypeIdentifier |
|
238 | 238 | * @param array $collectedFields |
239 | 239 | * |
240 | 240 | * @return BinaryFile[]|null |