@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | { |
| 165 | 165 | $this->method = $method; |
| 166 | 166 | |
| 167 | - $this->pathUri = Str::contains($url, '/') ? $url : Arr::get($this->hooks, $url.'.'.$method, $url); |
|
| 167 | + $this->pathUri = Str::contains($url, '/') ? $url : Arr::get($this->hooks, $url . '.' . $method, $url); |
|
| 168 | 168 | } |
| 169 | 169 | |
| 170 | 170 | /** |
@@ -254,7 +254,7 @@ discard block |
||
| 254 | 254 | |
| 255 | 255 | return [ |
| 256 | 256 | 'method' => $this->method, |
| 257 | - 'endpoint' => Arr::first($request->getHeader('base_uri')).$request->getUri()->getPath(), |
|
| 257 | + 'endpoint' => Arr::first($request->getHeader('base_uri')) . $request->getUri()->getPath(), |
|
| 258 | 258 | 'request' => array_merge($this->configs, $this->options), |
| 259 | 259 | 'response' => null, |
| 260 | 260 | ]; |
@@ -44,7 +44,7 @@ |
||
| 44 | 44 | |
| 45 | 45 | if (is_string($config)) { |
| 46 | 46 | $this->mapConfiguration( |
| 47 | - config($config, config(self::CONF_DIR.$config)) |
|
| 47 | + config($config, config(self::CONF_DIR . $config)) |
|
| 48 | 48 | ); |
| 49 | 49 | } else { |
| 50 | 50 | $this->configurable = $this->configurable->merge($config); |