@@ -164,7 +164,7 @@ |
||
164 | 164 | if ($this->callMode === ProxyAux::MODE_TOKEN && $this->useHeader === true) { |
165 | 165 | $accessToken = ProxyAux::getQueryValue($inputs, ProxyAux::ACCESS_TOKEN); |
166 | 166 | $inputs = ProxyAux::removeQueryValue($inputs, ProxyAux::ACCESS_TOKEN); |
167 | - $options = array_add($options, 'headers', [ ProxyAux::HEADER_AUTH => 'Bearer ' . $accessToken ]); |
|
167 | + $options = array_add($options, 'headers', [ProxyAux::HEADER_AUTH => 'Bearer ' . $accessToken]); |
|
168 | 168 | } |
169 | 169 | |
170 | 170 | if ($method === 'GET') { |
@@ -32,7 +32,7 @@ discard block |
||
32 | 32 | */ |
33 | 33 | public function boot() { |
34 | 34 | $this->publishes([ |
35 | - __DIR__.'/../../config/proxy.php' => config_path('proxy.php'), |
|
35 | + __DIR__ . '/../../config/proxy.php' => config_path('proxy.php'), |
|
36 | 36 | ]); |
37 | 37 | } |
38 | 38 | |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | * @return void |
52 | 52 | */ |
53 | 53 | public function registerApiProxy() { |
54 | - $this->app->bindShared('api-proxy.proxy', function ($app) { |
|
54 | + $this->app->bindShared('api-proxy.proxy', function($app) { |
|
55 | 55 | $params = $app['config']['proxy']; |
56 | 56 | $proxy = new Proxy($params); |
57 | 57 | return $proxy; |
@@ -73,7 +73,7 @@ |
||
73 | 73 | } |
74 | 74 | |
75 | 75 | //Create the new request |
76 | - $requestManager = new RequestManager($this->uri, $method, $this->clientSecrets, $this->callMode, $this->cookieManager); |
|
76 | + $requestManager = new RequestManager($this->uri, $method, $this->clientSecrets, $this->callMode, $this->cookieManager); |
|
77 | 77 | if ($this->useHeader) { |
78 | 78 | $requestManager->enableHeader(); |
79 | 79 | } |