@@ -98,7 +98,7 @@ discard block |
||
98 | 98 | |
99 | 99 | /** |
100 | 100 | * Initiate a payment request to Paystack |
101 | - * @return Unicodeveloper\Paystack\Paystack |
|
101 | + * @return Paystack |
|
102 | 102 | */ |
103 | 103 | public function makePaymentRequest() |
104 | 104 | { |
@@ -110,7 +110,7 @@ discard block |
||
110 | 110 | /** |
111 | 111 | * Make the client request and get the response |
112 | 112 | * @param string $relativeUrl |
113 | - * @return Unicodeveloper\Paystack\Paystack |
|
113 | + * @return Paystack |
|
114 | 114 | */ |
115 | 115 | public function setResponse($relativeUrl) |
116 | 116 | { |
@@ -127,6 +127,9 @@ discard block |
||
127 | 127 | return $this; |
128 | 128 | } |
129 | 129 | |
130 | + /** |
|
131 | + * @param string $relativeUrl |
|
132 | + */ |
|
130 | 133 | private function setGetResponse($relativeUrl) |
131 | 134 | { |
132 | 135 | $this->response = $this->client->get($this->baseUrl . $relativeUrl, []); |
@@ -136,7 +139,7 @@ discard block |
||
136 | 139 | |
137 | 140 | /** |
138 | 141 | * Get the authorization url from the callback response |
139 | - * @return Unicodeveloper\Paystack\Paystack |
|
142 | + * @return Paystack |
|
140 | 143 | */ |
141 | 144 | public function getAuthorizationUrl() |
142 | 145 | { |