Completed
Push — master ( dec4e1...786955 )
by Baffour Adu
11:36
created
src/MazzumaPayment.php 1 patch
Doc Comments   +14 added lines, -14 removed lines patch added patch discarded remove patch
@@ -78,13 +78,13 @@  discard block
 block discarded – undo
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,
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
      * Sets the Sender
123 123
      * @param $payee string The telephone Number of the Sender
124 124
      *
125
-     * @return object
125
+     * @return MazzumaPayment
126 126
      */
127 127
     public function from($payee)
128 128
     {
@@ -146,7 +146,7 @@  discard block
 block discarded – undo
146 146
      * Sets the Reciever
147 147
      * @param $reciever string The telephone Number of the Reciever
148 148
      *
149
-     * @return object
149
+     * @return MazzumaPayment
150 150
      */
151 151
     public function to($reciever)
152 152
     {
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     /**
160 160
      * returns the Reciever
161 161
      *
162
-     * @return object
162
+     * @return string
163 163
      */
164 164
     public function getTo()
165 165
     {
@@ -170,7 +170,7 @@  discard block
 block discarded – undo
170 170
      * Sets the Amount
171 171
      * @param $totalAmount string The amount to be sent
172 172
      *
173
-     * @return object
173
+     * @return MazzumaPayment
174 174
      */
175 175
     public function amount($totalAmount)
176 176
     {
@@ -195,7 +195,7 @@  discard block
 block discarded – undo
195 195
      * Sets the Sender Network
196 196
      * @param $paymentFlow string The flow of the Payment
197 197
      *
198
-     * @return object
198
+     * @return MazzumaPayment
199 199
      */
200 200
     public function transfer($paymentFlow)
201 201
     {
@@ -223,7 +223,7 @@  discard block
 block discarded – undo
223 223
     /**
224 224
      * Gets the Sender Network from the payment Flow
225 225
      *
226
-     * @return boolean
226
+     * @return string
227 227
      */
228 228
     private function getSenderNetwork($paymentFlow)
229 229
     {
@@ -235,7 +235,7 @@  discard block
 block discarded – undo
235 235
     /**
236 236
      * returns the Reciever
237 237
      *
238
-     * @return object
238
+     * @return string
239 239
      */
240 240
     public function getPayeeNetwork()
241 241
     {
Please login to merge, or discard this patch.