@@ -48,7 +48,7 @@ |
||
| 48 | 48 | $prepend = $this->uri->getPath(); |
| 49 | 49 | $path = $request->getUri()->getPath(); |
| 50 | 50 | if (0 !== strpos($path, $prepend)) { |
| 51 | - $request = $request->withUri($request->getUri()->withPath($prepend . $path)); |
|
| 51 | + $request = $request->withUri($request->getUri()->withPath($prepend.$path)); |
|
| 52 | 52 | } |
| 53 | 53 | |
| 54 | 54 | return $next($request); |
@@ -48,7 +48,7 @@ |
||
| 48 | 48 | */ |
| 49 | 49 | public function handleRequest(RequestInterface $request, callable $next, callable $first) |
| 50 | 50 | { |
| 51 | - $addHostNext = function (RequestInterface $request) use ($next, $first) { |
|
| 51 | + $addHostNext = function(RequestInterface $request) use ($next, $first) { |
|
| 52 | 52 | return $this->addHostPlugin->handleRequest($request, $next, $first); |
| 53 | 53 | }; |
| 54 | 54 | |