@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * |
| 53 | - * @return StaticPlugin |
|
| 53 | + * @return BuyCoursesPlugin |
|
| 54 | 54 | */ |
| 55 | 55 | static function create() |
| 56 | 56 | {
|
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | /** |
| 279 | 279 | * Save a transfer account information |
| 280 | 280 | * @param array $params The transfer account |
| 281 | - * @return int Rows affected. Otherwise return false |
|
| 281 | + * @return false|string Rows affected. Otherwise return false |
|
| 282 | 282 | */ |
| 283 | 283 | public function saveTransferAccount($params) |
| 284 | 284 | {
|
@@ -691,7 +691,7 @@ discard block |
||
| 691 | 691 | /** |
| 692 | 692 | * Get session info |
| 693 | 693 | * @param array $sessionId The session ID |
| 694 | - * @return array |
|
| 694 | + * @return Session |
|
| 695 | 695 | */ |
| 696 | 696 | public function getSessionInfo($sessionId) |
| 697 | 697 | {
|
@@ -784,7 +784,7 @@ discard block |
||
| 784 | 784 | * Register a sale |
| 785 | 785 | * @param int $itemId The product ID |
| 786 | 786 | * @param int $paymentType The payment type |
| 787 | - * @return boolean |
|
| 787 | + * @return false|string |
|
| 788 | 788 | */ |
| 789 | 789 | public function registerSale($itemId, $paymentType) |
| 790 | 790 | {
|
@@ -966,7 +966,7 @@ discard block |
||
| 966 | 966 | |
| 967 | 967 | /** |
| 968 | 968 | * Get payment types |
| 969 | - * @return array |
|
| 969 | + * @return string[] |
|
| 970 | 970 | */ |
| 971 | 971 | public function getPaymentTypes() |
| 972 | 972 | {
|
@@ -1005,7 +1005,7 @@ discard block |
||
| 1005 | 1005 | |
| 1006 | 1006 | /** |
| 1007 | 1007 | * Get the statuses for sales |
| 1008 | - * @return array |
|
| 1008 | + * @return string[] |
|
| 1009 | 1009 | */ |
| 1010 | 1010 | public function getSaleStatuses() |
| 1011 | 1011 | {
|
@@ -1018,7 +1018,7 @@ discard block |
||
| 1018 | 1018 | |
| 1019 | 1019 | /** |
| 1020 | 1020 | * Get the statuses for Payouts |
| 1021 | - * @return array |
|
| 1021 | + * @return string[] |
|
| 1022 | 1022 | */ |
| 1023 | 1023 | public function getPayoutStatuses() |
| 1024 | 1024 | {
|
@@ -1031,7 +1031,7 @@ discard block |
||
| 1031 | 1031 | |
| 1032 | 1032 | /** |
| 1033 | 1033 | * Get the list of product types |
| 1034 | - * @return array |
|
| 1034 | + * @return string[] |
|
| 1035 | 1035 | */ |
| 1036 | 1036 | public function getProductTypes() |
| 1037 | 1037 | {
|
@@ -1043,7 +1043,7 @@ discard block |
||
| 1043 | 1043 | |
| 1044 | 1044 | /** |
| 1045 | 1045 | * Get the list of service types |
| 1046 | - * @return array |
|
| 1046 | + * @return string[] |
|
| 1047 | 1047 | */ |
| 1048 | 1048 | public function getServiceTypes() |
| 1049 | 1049 | {
|
@@ -1426,7 +1426,7 @@ discard block |
||
| 1426 | 1426 | /** |
| 1427 | 1427 | * Register a item |
| 1428 | 1428 | * @param array $itemData The item data |
| 1429 | - * @return int The item ID. Otherwise return false |
|
| 1429 | + * @return false|string The item ID. Otherwise return false |
|
| 1430 | 1430 | */ |
| 1431 | 1431 | public function registerItem(array $itemData) |
| 1432 | 1432 | {
|
@@ -1584,7 +1584,7 @@ discard block |
||
| 1584 | 1584 | /** |
| 1585 | 1585 | * Verify if the beneficiary have a paypal account |
| 1586 | 1586 | * @param int $userId |
| 1587 | - * @return true if the user have a paypal account, false if not |
|
| 1587 | + * @return boolean if the user have a paypal account, false if not |
|
| 1588 | 1588 | */ |
| 1589 | 1589 | public function verifyPaypalAccountByBeneficiary($userId) |
| 1590 | 1590 | {
|
@@ -1706,7 +1706,7 @@ discard block |
||
| 1706 | 1706 | /** |
| 1707 | 1707 | * Register addicional service |
| 1708 | 1708 | * @param array params $service |
| 1709 | - * @return mixed response |
|
| 1709 | + * @return false|string response |
|
| 1710 | 1710 | */ |
| 1711 | 1711 | public function storeService($service) |
| 1712 | 1712 | {
|
@@ -1862,7 +1862,7 @@ discard block |
||
| 1862 | 1862 | |
| 1863 | 1863 | /** |
| 1864 | 1864 | * Get the statuses for sales |
| 1865 | - * @return array |
|
| 1865 | + * @return string[] |
|
| 1866 | 1866 | */ |
| 1867 | 1867 | public function getServiceSaleStatuses() |
| 1868 | 1868 | {
|
@@ -2123,7 +2123,7 @@ discard block |
||
| 2123 | 2123 | * @param int $paymentType The payment type |
| 2124 | 2124 | * @param int $infoSelect The ID for Service Type |
| 2125 | 2125 | * @param int $trial trial mode |
| 2126 | - * @return boolean |
|
| 2126 | + * @return false|string |
|
| 2127 | 2127 | */ |
| 2128 | 2128 | public function registerServiceSale($serviceId, $paymentType, $infoSelect, $trial = null) |
| 2129 | 2129 | {
|