@@ -59,7 +59,7 @@ discard block |
||
59 | 59 | /** |
60 | 60 | * Return list of supported activity classes |
61 | 61 | * |
62 | - * @return array |
|
62 | + * @return integer[] |
|
63 | 63 | */ |
64 | 64 | public function getSupportedActivityClasses() |
65 | 65 | { |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | /** |
70 | 70 | * Check if given entity class is supports |
71 | 71 | * |
72 | - * @param $activityClass |
|
72 | + * @param string $activityClass |
|
73 | 73 | * |
74 | 74 | * @return bool |
75 | 75 | */ |
@@ -56,6 +56,7 @@ |
||
56 | 56 | |
57 | 57 | /** |
58 | 58 | * {@inheritdoc} |
59 | + * @param Call $activity |
|
59 | 60 | */ |
60 | 61 | public function getDate($activity) |
61 | 62 | { |
@@ -254,7 +254,7 @@ |
||
254 | 254 | } |
255 | 255 | |
256 | 256 | /** |
257 | - * @return callable |
|
257 | + * @return \Closure |
|
258 | 258 | */ |
259 | 259 | protected function getValidationGroups() |
260 | 260 | { |
@@ -270,7 +270,7 @@ |
||
270 | 270 | } |
271 | 271 | |
272 | 272 | /** |
273 | - * @param array $items |
|
273 | + * @param RFMMetricCategory[] $items |
|
274 | 274 | * |
275 | 275 | * @return PersistentCollection |
276 | 276 | */ |
@@ -18,7 +18,7 @@ |
||
18 | 18 | /** |
19 | 19 | * Validate collection. |
20 | 20 | * |
21 | - * @param PersistentCollection|RFMMetricCategory[] $value |
|
21 | + * @param PersistentCollection $value |
|
22 | 22 | * @param CategoriesConstraint $constraint |
23 | 23 | * |
24 | 24 | * {@inheritdoc} |
@@ -163,7 +163,7 @@ |
||
163 | 163 | |
164 | 164 | /** |
165 | 165 | * @param array $expectedUnsets |
166 | - * @param array $parametersData |
|
166 | + * @param array $parameters |
|
167 | 167 | * @return BuildBefore |
168 | 168 | */ |
169 | 169 | protected function createBuildBeforeEvent(array $expectedUnsets, array $parameters) |
@@ -357,8 +357,8 @@ |
||
357 | 357 | } |
358 | 358 | |
359 | 359 | /** |
360 | - * @param mixed $obj |
|
361 | - * @param mixed $val |
|
360 | + * @param Call $obj |
|
361 | + * @param integer $val |
|
362 | 362 | */ |
363 | 363 | protected function setId($obj, $val) |
364 | 364 | { |
@@ -142,7 +142,7 @@ |
||
142 | 142 | * ) |
143 | 143 | * |
144 | 144 | * @param EmailCampaign $entity |
145 | - * @return array |
|
145 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
146 | 146 | */ |
147 | 147 | public function sendAction(EmailCampaign $entity) |
148 | 148 | { |
@@ -366,6 +366,9 @@ |
||
366 | 366 | $this->sender->send($campaign); |
367 | 367 | } |
368 | 368 | |
369 | + /** |
|
370 | + * @param string[] $fields |
|
371 | + */ |
|
369 | 372 | protected function assertFieldsCall($fields, MarketingList $marketingList) |
370 | 373 | { |
371 | 374 | $this->contactInformationFieldsProvider->expects($this->once()) |