From d636f60cbc888f1a4a3e4d82f6036def958040af Mon Sep 17 00:00:00 2001 From: Alex Tselegidis Date: Sat, 23 Oct 2021 13:41:41 +0200 Subject: [PATCH] Added short argument explanation --- application/helpers/env_helper.php | 4 ++-- application/helpers/session_helper.php | 4 ++-- application/helpers/setting_helper.php | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/application/helpers/env_helper.php b/application/helpers/env_helper.php index 5584bda8..347957a3 100644 --- a/application/helpers/env_helper.php +++ b/application/helpers/env_helper.php @@ -20,8 +20,8 @@ if ( ! function_exists('env')) * * $debug = env('debug', FALSE); * - * @param string $key - * @param mixed $default + * @param string $key Environment key. + * @param mixed $default Default value in case the requested variable has no value. * * @return mixed */ diff --git a/application/helpers/session_helper.php b/application/helpers/session_helper.php index 291ea71c..339b7ffb 100644 --- a/application/helpers/session_helper.php +++ b/application/helpers/session_helper.php @@ -26,8 +26,8 @@ if ( ! function_exists('session')) * * session(['logged_in' => FALSE]); * - * @param array|string $key - * @param mixed $default + * @param array|string $key Session item key. + * @param mixed $default Default value in case the requested session item has no value. * * @return mixed|NULL Returns the requested value or NULL if you assign a new session value. * diff --git a/application/helpers/setting_helper.php b/application/helpers/setting_helper.php index 721ef46b..e49ef7e7 100644 --- a/application/helpers/setting_helper.php +++ b/application/helpers/setting_helper.php @@ -26,8 +26,8 @@ if ( ! function_exists('setting')) * * setting(['company_name' => 'ACME Inc']); * - * @param array|string $key - * @param mixed $default + * @param array|string $key Setting key. + * @param mixed $default Default value in case the requested setting has no value. * * @return mixed|NULL Returns the requested value or NULL if you assign a new setting value. *