@@ -37,7 +37,7 @@ discard block |
||
37 | 37 | /** |
38 | 38 | * Creates a new MazzumaPayment Instance |
39 | 39 | * |
40 | - * @return object |
|
40 | + * @return MazzumaPayment |
|
41 | 41 | */ |
42 | 42 | public function __construct($key) |
43 | 43 | { |
@@ -78,13 +78,13 @@ discard block |
||
78 | 78 | |
79 | 79 | /** |
80 | 80 | * Parses the Payment Details into Json for API call |
81 | - * @param $paymentDirectionalFlow string The Network directional flow of payment |
|
82 | - * @param $payeeNetwork string The Network Operator of the Sender |
|
83 | - * @param $APIKey string The API access key, as obtained on https://dashboard.mazzuma.com/ |
|
84 | - * @param $payee string The Sender Telephone Number |
|
85 | - * @param $reciever string The Recievers Telephone Number |
|
86 | - * @param $amount integer The amount been transacted |
|
87 | - * @return object |
|
81 | + * @param string $paymentDirectionalFlow string The Network directional flow of payment |
|
82 | + * @param string $payeeNetwork string The Network Operator of the Sender |
|
83 | + * @param string $APIKey string The API access key, as obtained on https://dashboard.mazzuma.com/ |
|
84 | + * @param string $payee string The Sender Telephone Number |
|
85 | + * @param string $reciever string The Recievers Telephone Number |
|
86 | + * @param integer $amount integer The amount been transacted |
|
87 | + * @return string |
|
88 | 88 | */ |
89 | 89 | private function parsePaymentDetails( |
90 | 90 | $paymentDirectionalFlow, |
@@ -112,7 +112,7 @@ discard block |
||
112 | 112 | * Sets the Sender |
113 | 113 | * @param $payee string The telephone Number of the Sender |
114 | 114 | * |
115 | - * @return object |
|
115 | + * @return MazzumaPayment |
|
116 | 116 | */ |
117 | 117 | public function from($payee) |
118 | 118 | { |
@@ -126,7 +126,7 @@ discard block |
||
126 | 126 | * Sets the Reciever |
127 | 127 | * @param $reciever string The telephone Number of the Reciever |
128 | 128 | * |
129 | - * @return object |
|
129 | + * @return MazzumaPayment |
|
130 | 130 | */ |
131 | 131 | public function to($reciever) |
132 | 132 | { |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | * Sets the Amount |
141 | 141 | * @param $totalAmount string The amount to be sent |
142 | 142 | * |
143 | - * @return object |
|
143 | + * @return MazzumaPayment |
|
144 | 144 | */ |
145 | 145 | public function amount($totalAmount) |
146 | 146 | { |
@@ -155,7 +155,7 @@ discard block |
||
155 | 155 | * Sets the Sender Network |
156 | 156 | * @param $paymentFlow string The flow of the Payment |
157 | 157 | * |
158 | - * @return object |
|
158 | + * @return MazzumaPayment |
|
159 | 159 | */ |
160 | 160 | public function transfer($paymentFlow) |
161 | 161 | { |