Skip to content

Commit

Permalink
fixed path trait (#12).
Browse files Browse the repository at this point in the history
  • Loading branch information
alfredsgenkins committed Jun 15, 2020
1 parent cc2753b commit 45b4a64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PathTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ trait PathTrait
* @param RequestInterface $request
* @return string
*/
protected function getPathFrontName(RequestInterface $request): string
protected function getPathFrontName(RequestInterface $request)
{
$path = trim($request->getPathInfo(), '/');
$params = explode('/', $path);
Expand Down

0 comments on commit 45b4a64

Please sign in to comment.