@@ -7,10 +7,8 @@ |
||
7 | 7 | /** |
8 | 8 | * Function to check if user has access to content. |
9 | 9 | * |
10 | - * @param array $params |
|
11 | - * @param object $smarty |
|
12 | 10 | * |
13 | - * @return string |
|
11 | + * @return boolean |
|
14 | 12 | */ |
15 | 13 | function smarty_modifier_has_subscription($user) |
16 | 14 | { |
@@ -481,7 +481,7 @@ discard block |
||
481 | 481 | /** |
482 | 482 | * Gets the payments. |
483 | 483 | * |
484 | - * @return Payment |
|
484 | + * @return Collection |
|
485 | 485 | */ |
486 | 486 | public function getPayments() |
487 | 487 | { |
@@ -493,6 +493,9 @@ discard block |
||
493 | 493 | return $this->paymentState; |
494 | 494 | } |
495 | 495 | |
496 | + /** |
|
497 | + * @param string $paymentState |
|
498 | + */ |
|
496 | 499 | public function setPaymentState($paymentState) |
497 | 500 | { |
498 | 501 | $this->paymentState = $paymentState; |