@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | */ |
77 | 77 | private function setRequestOptions() |
78 | 78 | { |
79 | - $authBearer = 'Bearer '. $this->secretKey; |
|
79 | + $authBearer = 'Bearer '.$this->secretKey; |
|
80 | 80 | |
81 | 81 | $this->client = new Client(['base_uri' => $this->baseUrl]); |
82 | 82 | |
@@ -111,7 +111,7 @@ discard block |
||
111 | 111 | "email" => request()->email |
112 | 112 | ]; |
113 | 113 | |
114 | - $this->response = $this->client->post($this->baseUrl . $relativeUrl, [ |
|
114 | + $this->response = $this->client->post($this->baseUrl.$relativeUrl, [ |
|
115 | 115 | 'body' => json_encode($data) |
116 | 116 | ]); |
117 | 117 | |
@@ -141,7 +141,7 @@ discard block |
||
141 | 141 | |
142 | 142 | $relativeUrl = "/transaction/verify/{$transactionRef}"; |
143 | 143 | |
144 | - $this->response = $this->client->get($this->baseUrl . $relativeUrl, []); |
|
144 | + $this->response = $this->client->get($this->baseUrl.$relativeUrl, []); |
|
145 | 145 | } |
146 | 146 | |
147 | 147 | /** |
@@ -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; |