Skip to content

Commit 7a0034c

Browse files
authored
CS fix.
1 parent 1f1e345 commit 7a0034c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Plugin/AddPathPlugin.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public function __construct(UriInterface $uri)
3939
*/
4040
public function handleRequest(RequestInterface $request, callable $next, callable $first)
4141
{
42-
if (strpos($request->getUri()->getPath(), $this->uri->getPath()) !== 0) {
42+
if (0 !== strpos($request->getUri()->getPath(), $this->uri->getPath())) {
4343
$request = $request->withUri($request->getUri()
4444
->withPath($this->uri->getPath().$request->getUri()->getPath())
4545
);

0 commit comments

Comments
 (0)