Completed
Push — master ( c063da...f70cad )
by PROSPER
02:12
created
src/TransRef.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
      * @param  string $type
21 21
      * @return string
22 22
      */
23
-    private static function getPool( $type = 'alnum')
23
+    private static function getPool($type = 'alnum')
24 24
     {
25
-        switch ( $type ) {
25
+        switch ($type) {
26 26
             case 'alnum':
27 27
                 $pool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
28 28
                 break;
Please login to merge, or discard this patch.
src/Paystack.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     private function setRequestOptions()
87 87
     {
88
-        $authBearer = 'Bearer '. $this->secretKey;
88
+        $authBearer = 'Bearer '.$this->secretKey;
89 89
 
90 90
         $this->client = new Client(['base_uri' => $this->baseUrl]);
91 91
 
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
             "email" => request()->email
121 121
         ];
122 122
 
123
-        $this->response = $this->client->post($this->baseUrl . $relativeUrl, [
123
+        $this->response = $this->client->post($this->baseUrl.$relativeUrl, [
124 124
             'body' => json_encode($data)
125 125
         ]);
126 126
 
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
 
130 130
     private function setGetResponse($relativeUrl)
131 131
     {
132
-        $this->response = $this->client->get($this->baseUrl . $relativeUrl, []);
132
+        $this->response = $this->client->get($this->baseUrl.$relativeUrl, []);
133 133
 
134 134
         return $this;
135 135
     }
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
 
158 158
         $relativeUrl = "/transaction/verify/{$transactionRef}";
159 159
 
160
-        $this->response = $this->client->get($this->baseUrl . $relativeUrl, []);
160
+        $this->response = $this->client->get($this->baseUrl.$relativeUrl, []);
161 161
     }
162 162
 
163 163
     /**
Please login to merge, or discard this patch.