Fixed deprecated notice when using class type hinting (issue: #538)

This commit is contained in:
Simon Sessingø
2021-04-28 09:57:47 +02:00
parent 718d60c53b
commit c66d7f7df7
4 changed files with 15 additions and 9 deletions
@@ -55,7 +55,6 @@ abstract class LoadableRoute extends Route implements ILoadableRoute
public function matchRegex(Request $request, $url): ?bool
{
/* Match on custom defined regular expression */
if ($this->regex === null) {
return null;
}