Add type hints and use class constants where applicable in Rhymix Framework

This commit is contained in:
Kijin Sung 2023-10-03 02:33:24 +09:00
parent 78f7942e40
commit b6e8d41be8
11 changed files with 138 additions and 128 deletions

View file

@ -30,7 +30,7 @@ function config(string $key, $value = null)
*
* @param string $code Lang variable name
* @param string $value `$code`s value
* @return mixed
* @return string|null|\ArrayObject
*/
function lang(string $code, $value = null)
{