@@ -238,7 +238,7 @@ discard block |
||
238 | 238 | /** |
239 | 239 | * Returns the account unique id. |
240 | 240 | * |
241 | - * @return mixed |
|
241 | + * @return integer |
|
242 | 242 | */ |
243 | 243 | public function getId() |
244 | 244 | { |
@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | /** |
326 | 326 | * Get contacts collection |
327 | 327 | * |
328 | - * @return Collection|Contact[] |
|
328 | + * @return ArrayCollection |
|
329 | 329 | */ |
330 | 330 | public function getContacts() |
331 | 331 | { |
@@ -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 | { |
@@ -126,6 +126,7 @@ discard block |
||
126 | 126 | |
127 | 127 | /** |
128 | 128 | * {@inheritdoc} |
129 | + * @param Email $activity |
|
129 | 130 | */ |
130 | 131 | public function getDate($activity) |
131 | 132 | { |
@@ -202,7 +203,7 @@ discard block |
||
202 | 203 | } |
203 | 204 | |
204 | 205 | /** |
205 | - * @param object $target |
|
206 | + * @param EmailHolderInterface $target |
|
206 | 207 | * @return string |
207 | 208 | */ |
208 | 209 | protected function getTargetEmail($target) |
@@ -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) |
@@ -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()) |