@@ -211,6 +211,9 @@ |
||
| 211 | 211 | return $em->getRepository('Newscoop\PaywallBundle\Entity\Order'); |
| 212 | 212 | } |
| 213 | 213 | |
| 214 | + /** |
|
| 215 | + * @param string $locale |
|
| 216 | + */ |
|
| 214 | 217 | private function getActiveSubscriptions($locale) |
| 215 | 218 | { |
| 216 | 219 | $em = $this->get('em'); |
@@ -357,7 +357,7 @@ discard block |
||
| 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 | */ |
@@ -530,7 +530,7 @@ discard block |
||
| 530 | 530 | * |
| 531 | 531 | * @param UserSubscription $userSubscription User subscription |
| 532 | 532 | * |
| 533 | - * @return DateTime |
|
| 533 | + * @return null|\DateTime |
|
| 534 | 534 | */ |
| 535 | 535 | public function getExpirationDate(UserSubscription $userSubscription) |
| 536 | 536 | { |
@@ -98,7 +98,7 @@ |
||
| 98 | 98 | } |
| 99 | 99 | |
| 100 | 100 | if ($options !== '') { |
| 101 | - $html .= '<select name="batchorder['.$subscription['id'].']"><option value="">'.$p_params['choose_text'].'</option>'.$options.'</select><br>'; |
|
| 101 | + $html .= '<select name="batchorder['.$subscription['id'].']"><option value="">'.$p_params['choose_text'].'</option>'.$options.'</select><br>'; |
|
| 102 | 102 | } |
| 103 | 103 | } |
| 104 | 104 | } |