Completed
Pull Request — master (#4)
by
unknown
02:07
created
src/Paystack.php 1 patch
Doc Comments   +12 added lines, -3 removed lines patch added patch discarded remove patch
@@ -98,7 +98,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
127 127
         return $this;
128 128
     }
129 129
 
130
+    /**
131
+     * @param string $relativeUrl
132
+     */
130 133
     private function setGetResponse($relativeUrl, $body = [])
131 134
     {
132 135
         $this->response = $this->client->get($this->baseUrl . $relativeUrl, $body);
@@ -134,6 +137,9 @@  discard block
 block discarded – undo
134 137
         return $this;
135 138
     }
136 139
 
140
+    /**
141
+     * @param string $relativeUrl
142
+     */
137 143
     private function setPostResponse($relativeUrl, $body = [])
138 144
     {
139 145
         $this->response = $this->client->post($this->baseUrl . $relativeUrl, $body);
@@ -141,6 +147,9 @@  discard block
 block discarded – undo
141 147
         return $this;
142 148
     }
143 149
 
150
+    /**
151
+     * @param string $relativeUrl
152
+     */
144 153
     private function setPutResponse($relativeUrl, $body = [])
145 154
     {
146 155
         $this->response = $this->client->put($this->baseUrl . $relativeUrl, $body);
@@ -150,7 +159,7 @@  discard block
 block discarded – undo
150 159
 
151 160
     /**
152 161
      * Get the authorization url from the callback response
153
-     * @return Unicodeveloper\Paystack\Paystack
162
+     * @return Paystack
154 163
      */
155 164
     public function getAuthorizationUrl()
156 165
     {
Please login to merge, or discard this patch.