@@ -44,7 +44,7 @@ discard block |
||
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * |
| 47 | - * @return StaticPlugin |
|
| 47 | + * @return BuyCoursesPlugin |
|
| 48 | 48 | */ |
| 49 | 49 | static function create() |
| 50 | 50 | {
|
@@ -216,7 +216,7 @@ discard block |
||
| 216 | 216 | /** |
| 217 | 217 | * Save a transfer account information |
| 218 | 218 | * @param array $params The transfer account |
| 219 | - * @return int Rows affected. Otherwise return false |
|
| 219 | + * @return false|string Rows affected. Otherwise return false |
|
| 220 | 220 | */ |
| 221 | 221 | public function saveTransferAccount($params) |
| 222 | 222 | {
|
@@ -626,7 +626,7 @@ discard block |
||
| 626 | 626 | /** |
| 627 | 627 | * Get session info |
| 628 | 628 | * @param array $sessionId The session ID |
| 629 | - * @return array |
|
| 629 | + * @return Chamilo\CoreBundle\Entity\Session |
|
| 630 | 630 | */ |
| 631 | 631 | public function getSessionInfo($sessionId) |
| 632 | 632 | {
|
@@ -719,7 +719,7 @@ discard block |
||
| 719 | 719 | * Register a sale |
| 720 | 720 | * @param int $itemId The product ID |
| 721 | 721 | * @param int $paymentType The payment type |
| 722 | - * @return boolean |
|
| 722 | + * @return false|string |
|
| 723 | 723 | */ |
| 724 | 724 | public function registerSale($itemId, $paymentType) |
| 725 | 725 | {
|
@@ -918,7 +918,7 @@ discard block |
||
| 918 | 918 | |
| 919 | 919 | /** |
| 920 | 920 | * Get payment types |
| 921 | - * @return array |
|
| 921 | + * @return string[] |
|
| 922 | 922 | */ |
| 923 | 923 | public function getPaymentTypes() |
| 924 | 924 | {
|
@@ -956,7 +956,7 @@ discard block |
||
| 956 | 956 | |
| 957 | 957 | /** |
| 958 | 958 | * Get the statuses for sales |
| 959 | - * @return array |
|
| 959 | + * @return string[] |
|
| 960 | 960 | */ |
| 961 | 961 | public function getSaleStatuses() |
| 962 | 962 | {
|
@@ -969,7 +969,7 @@ discard block |
||
| 969 | 969 | |
| 970 | 970 | /** |
| 971 | 971 | * Get the statuses for sales |
| 972 | - * @return array |
|
| 972 | + * @return string[] |
|
| 973 | 973 | */ |
| 974 | 974 | public function getServiceSaleStatuses() |
| 975 | 975 | {
|
@@ -982,7 +982,7 @@ discard block |
||
| 982 | 982 | |
| 983 | 983 | /** |
| 984 | 984 | * Get the statuses for Payouts |
| 985 | - * @return array |
|
| 985 | + * @return string[] |
|
| 986 | 986 | */ |
| 987 | 987 | public function getPayoutStatuses() |
| 988 | 988 | {
|
@@ -995,7 +995,7 @@ discard block |
||
| 995 | 995 | |
| 996 | 996 | /** |
| 997 | 997 | * Get the list of service types |
| 998 | - * @return array |
|
| 998 | + * @return string[] |
|
| 999 | 999 | */ |
| 1000 | 1000 | public function getServiceTypes() |
| 1001 | 1001 | {
|
@@ -1008,7 +1008,7 @@ discard block |
||
| 1008 | 1008 | |
| 1009 | 1009 | /** |
| 1010 | 1010 | * Get the list of product types |
| 1011 | - * @return array |
|
| 1011 | + * @return string[] |
|
| 1012 | 1012 | */ |
| 1013 | 1013 | public function getProductTypes() |
| 1014 | 1014 | {
|
@@ -1389,7 +1389,7 @@ discard block |
||
| 1389 | 1389 | /** |
| 1390 | 1390 | * Register a item |
| 1391 | 1391 | * @param array $itemData The item data |
| 1392 | - * @return int The item ID. Otherwise return false |
|
| 1392 | + * @return false|string The item ID. Otherwise return false |
|
| 1393 | 1393 | */ |
| 1394 | 1394 | public function registerItem(array $itemData) |
| 1395 | 1395 | {
|
@@ -1674,7 +1674,7 @@ discard block |
||
| 1674 | 1674 | /** |
| 1675 | 1675 | * Register addicional service |
| 1676 | 1676 | * @param array params $service |
| 1677 | - * @return database response |
|
| 1677 | + * @return false|string response |
|
| 1678 | 1678 | */ |
| 1679 | 1679 | public function storeService($service) |
| 1680 | 1680 | {
|
@@ -1872,7 +1872,7 @@ discard block |
||
| 1872 | 1872 | * @param int $serviceId The service ID |
| 1873 | 1873 | * @param int $paymentType The payment type |
| 1874 | 1874 | * @param int $infoSelect The ID for Service Type |
| 1875 | - * @return boolean |
|
| 1875 | + * @return false|string |
|
| 1876 | 1876 | */ |
| 1877 | 1877 | public function registerServiceSale($serviceId, $paymentType, $infoSelect) |
| 1878 | 1878 | {
|
@@ -397,6 +397,7 @@ |
||
| 397 | 397 | * @nvpStr is nvp string. |
| 398 | 398 | * returns an associtive array containing the response from the server. |
| 399 | 399 | * |
| 400 | + * @param string $methodName |
|
| 400 | 401 | */ |
| 401 | 402 | function hash_call($methodName, $nvpStr) |
| 402 | 403 | {
|