Skip to content

Commit 6e40827

Browse files
committed
removed unused var $route
1 parent 8e997d1 commit 6e40827

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/middlewares/Phroute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public function __invoke(ServerRequestInterface $request, ResponseInterface $res
4040
try {
4141
$_SESSION['requestURI']=$request->getUri()->getPath();
4242
ob_start();
43-
$route = $this->router->dispatch($request->getMethod(), $request->getUri()->getPath());
43+
$this->router->dispatch($request->getMethod(), $request->getUri()->getPath());
4444
$bufferedBody = ob_get_clean();
4545
$response->getBody()->write($bufferedBody);
4646
$response = $response->withStatus(200);

0 commit comments

Comments
 (0)