Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
mkorkmaz committed Feb 26, 2019
1 parent 49b9dcc commit 580cf3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public function __construct(
throw new InvalidRequestMethodException($message);
}
$this->method = $method;
$this->requestedPath = rtrim($requestedPath, '/',);
$this->requestedPath = rtrim($requestedPath, '/');
$this->defaultReturnType = ($defaultReturnType >=1 && $defaultReturnType <=7) ? $defaultReturnType : self::HTML;
}

Expand Down

0 comments on commit 580cf3c

Please sign in to comment.