Completed
Pull Request — master (#4)
by
unknown
02:13
created
src/Paystack.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -113,6 +113,10 @@
 block discarded – undo
113 113
     }
114 114
 
115 115
 
116
+    /**
117
+     * @param string $relativeUrl
118
+     * @param string $method
119
+     */
116 120
     private function setHttpResponse($relativeUrl, $method, $body = []){
117 121
 
118 122
         if(is_null($method)){
Please login to merge, or discard this patch.
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
 
120 120
             throw new isNullException("Empty method not allowed");
121 121
 
122
-        }else{
122
+        } else{
123 123
 
124 124
             $this->response = $this->client->{strtolower($method)}($this->baseUrl . $relativeUrl, $body);
125 125
 
Please login to merge, or discard this patch.