| @@ -34,7 +34,7 @@ | ||
| 34 | 34 | * @param [type] $url | 
| 35 | 35 | * @param array $params | 
| 36 | 36 | * @param array $headers | 
| 37 | - * @return \PatricPoba\MtnMomo\Http\Response | |
| 37 | + * @return ApiResponse | |
| 38 | 38 | */ | 
| 39 | 39 | public function request($method, $url, $params = [], $headers = []) | 
| 40 | 40 |      { | 
| @@ -2,8 +2,8 @@ | ||
| 2 | 2 | |
| 3 | 3 | namespace PatricPoba\MtnMomo\Http; | 
| 4 | 4 | |
| 5 | -use GuzzleHttp\Client; | |
| 6 | -use GuzzleHttp\ClientInterface; | |
| 5 | +use GuzzleHttp\Client; | |
| 6 | +use GuzzleHttp\ClientInterface; | |
| 7 | 7 | use PatricPoba\MtnMomo\Exceptions\MtnMomoException; | 
| 8 | 8 | |
| 9 | 9 | class GuzzleClient implements HttpClientInterface | 
| @@ -3,10 +3,10 @@ | ||
| 3 | 3 | namespace PatricPoba\MtnMomo; | 
| 4 | 4 | |
| 5 | 5 | use GuzzleHttp\ClientInterface; | 
| 6 | -use PatricPoba\MtnMomo\MtnConfig; | |
| 6 | +use PatricPoba\MtnMomo\Exceptions\MtnMomoException; | |
| 7 | 7 | use PatricPoba\MtnMomo\Http\GuzzleClient; | 
| 8 | +use PatricPoba\MtnMomo\MtnConfig; | |
| 8 | 9 | use PatricPoba\MtnMomo\Utilities\Helpers; | 
| 9 | -use PatricPoba\MtnMomo\Exceptions\MtnMomoException; | |
| 10 | 10 | |
| 11 | 11 | abstract class MtnMomo extends GuzzleClient | 
| 12 | 12 |  { | 
| @@ -99,7 +99,6 @@ discard block | ||
| 99 | 99 | /** | 
| 100 | 100 | * Make a requestToPay (collection product) or transfer (disbursement product) or transfer (remittance product) | 
| 101 | 101 | * | 
| 102 | - * @param array $params amount, mobileNumber,payeeNote,payerMessage,externalId, callbackUrl* | |
| 103 | 102 | * @param string $transactionUuid | 
| 104 | 103 | * @throws \Exception | 
| 105 | 104 | * @return mixed string | PatricPoba\MtnMomo\Http\ApiReponse | 
| @@ -142,7 +141,7 @@ discard block | ||
| 142 | 141 | * Undocumented function | 
| 143 | 142 | * | 
| 144 | 143 | * @param [type] $mobileNumber | 
| 145 | - * @return void | |
| 144 | + * @return Http\ApiResponse | |
| 146 | 145 | */ | 
| 147 | 146 | public function accountHolderActive($mobileNumber) | 
| 148 | 147 |      { |