|
@@ -1,6 +1,6 @@ discard block |
|
|
block discarded – undo |
|
1
|
1
|
<?php |
|
2
|
2
|
|
|
3
|
|
-declare(strict_types=1); |
|
|
3
|
+declare(strict_types = 1); |
|
4
|
4
|
|
|
5
|
5
|
namespace AcquiroPay; |
|
6
|
6
|
|
|
@@ -193,7 +193,7 @@ discard block |
|
|
block discarded – undo |
|
193
|
193
|
|
|
194
|
194
|
protected function token(): ?string |
|
195
|
195
|
{ |
|
196
|
|
- return $this->cache->remember('acquiropay_api_token_'.md5($this->url), 10, function () { |
|
|
196
|
+ return $this->cache->remember('acquiropay_api_token_'.md5($this->url), 10, function() { |
|
197
|
197
|
$response = $this->http->post( |
|
198
|
198
|
$this->url.'/login', |
|
199
|
199
|
['form_params' => ['username' => $this->username, 'password' => $this->password]] |
Please login to merge, or discard this patch.