summaryrefslogtreecommitdiff
path: root/src/helpers.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2018-08-06 13:10:53 +0200
committermsquare <msquare@notrademark.de>2018-08-06 13:10:53 +0200
commit2832fe48eeff7335e734ac17b1b7d9f3c52621a8 (patch)
tree6cf65382789df3aa55ef8c451c1ab6dd0321d963 /src/helpers.php
parent9496e3571168feff780f6efb17ddc00c670e2dee (diff)
rename some params (codestyle)
Diffstat (limited to 'src/helpers.php')
-rw-r--r--src/helpers.php6
1 files changed, 3 insertions, 3 deletions
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);
}
/**