diff options
Diffstat (limited to 'src/helpers.php')
-rw-r--r-- | src/helpers.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/helpers.php b/src/helpers.php index 3a182bf7..84f26dfa 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -16,13 +16,13 @@ use Symfony\Component\HttpFoundation\Session\SessionInterface; * @param string $id * @return mixed|Application */ -function app($id = null) +function app($instance_id = null) { - if (is_null($id)) { + if (is_null($instance_id)) { return Application::getInstance(); } - return Application::getInstance()->get($id); + return Application::getInstance()->get($instance_id); } /** @@ -156,7 +156,7 @@ function __($key, $replace = []) /** * @param string $path * @param array $parameters - * @return UrlGenerator|string + * @return UrlGeneratorInterface|string */ function url($path = null, $parameters = []) { |