@@ -20,9 +20,9 @@ |
||
| 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; |
@@ -85,7 +85,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 |
||
| 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 | /** |