Added @throws tag at the comments

This commit is contained in:
Alex Tselegidis 2021-10-23 13:42:23 +02:00
parent d636f60cbc
commit e55c68fcb4
1 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,8 @@ if ( ! function_exists('env'))
* @param mixed $default Default value in case the requested variable has no value. * @param mixed $default Default value in case the requested variable has no value.
* *
* @return mixed * @return mixed
*
* @throws InvalidArgumentException
*/ */
function env(string $key, $default = NULL) function env(string $key, $default = NULL)
{ {