From 2832fe48eeff7335e734ac17b1b7d9f3c52621a8 Mon Sep 17 00:00:00 2001 From: msquare Date: Mon, 6 Aug 2018 13:10:53 +0200 Subject: rename some params (codestyle) --- src/helpers.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/helpers.php b/src/helpers.php index 8d8f74e1..3f118bf3 100644 --- a/src/helpers.php +++ b/src/helpers.php @@ -14,13 +14,13 @@ use Symfony\Component\HttpFoundation\Session\SessionInterface; * @param string $id * @return mixed */ -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); } /** -- cgit v1.2.3-70-g09d2