mirror of
https://github.com/skipperbent/simple-php-router.git
synced 2026-07-11 02:32:16 +00:00
Fixed deprication warnings
This commit is contained in:
@@ -81,7 +81,7 @@ class RouteController extends LoadableRoute implements IControllerRoute
|
||||
$url .= '//' . $group->getDomains()[0];
|
||||
}
|
||||
|
||||
$url .= '/' . trim($this->getUrl(), '/') . '/' . strtolower($method) . implode('/', $parameters);
|
||||
$url .= '/' . trim($this->getUrl(), '/') . '/' . strtolower((string)$method) . implode('/', $parameters);
|
||||
|
||||
return '/' . trim($url, '/') . '/';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user