@@ -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 | { |