@@ -79,8 +79,6 @@ discard block |
||
| 79 | 79 | * Sends email notifications. |
| 80 | 80 | * |
| 81 | 81 | * @param string $code Email message type |
| 82 | - * @param Newscoop\Entity\User $user User object |
|
| 83 | - * @param PaywallBundle\Entity\UserSubscription $userSubscription User's subscription |
|
| 84 | 82 | */ |
| 85 | 83 | public function sendNotification($code, array $recipients = array(), array $data = array()) |
| 86 | 84 | { |
@@ -124,6 +122,9 @@ discard block |
||
| 124 | 122 | ); |
| 125 | 123 | } |
| 126 | 124 | |
| 125 | + /** |
|
| 126 | + * @param string $code |
|
| 127 | + */ |
|
| 127 | 128 | private function loadProperMessageTemplateBy($code) |
| 128 | 129 | { |
| 129 | 130 | switch ($code) { |
@@ -192,7 +193,6 @@ discard block |
||
| 192 | 193 | * notifications to users. |
| 193 | 194 | * |
| 194 | 195 | * @param \DateTime $now Current date time |
| 195 | - * @param int $subscriptionsCount Subscriptions count |
|
| 196 | 196 | */ |
| 197 | 197 | public function processExpiringSubscriptions($now, $notify, $count = 0, $days = 7) |
| 198 | 198 | { |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | * Calculates prices including all discounts. |
| 44 | 44 | * |
| 45 | 45 | * @param array $items array of subscription identifiers and its periods |
| 46 | - * @param string $surrency currency |
|
| 46 | + * @param string $currency currency |
|
| 47 | 47 | * |
| 48 | 48 | * @return OrderInterface |
| 49 | 49 | */ |
@@ -357,7 +357,7 @@ |
||
| 357 | 357 | /** |
| 358 | 358 | * Gets all available sections by given language Id. |
| 359 | 359 | * |
| 360 | - * @param int $language Language Id to search for |
|
| 360 | + * @param int $languageId Language Id to search for |
|
| 361 | 361 | * |
| 362 | 362 | * @return array |
| 363 | 363 | */ |