Skip to content
This repository has been archived by the owner on Nov 8, 2020. It is now read-only.

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
klapuch committed Jul 28, 2017
1 parent 82b4999 commit a2fb1a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Core/HttpRoutes.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ function(string $source) use ($uri): bool {
);
}

/**
* Applied decoded shortcuts
*/
private function withShortcuts(string $source): string
{
return str_replace(
Expand All @@ -56,6 +59,9 @@ private function withShortcuts(string $source): string
);
}

/**
* Applied decoded methods
*/
private function withMethods(string $source): string
{
return preg_replace('~\s\[\w+\]$~', '', $source);
Expand Down

0 comments on commit a2fb1a6

Please sign in to comment.