Skip to content

Commit 6acd5b9

Browse files
authored
refactor: PHPDocs in env() (codeigniter4#9468)
1 parent 8fa633d commit 6acd5b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Common.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,9 +371,9 @@ function db_connect($db = null, bool $getShared = true)
371371
* retrieving values set from the .env file for
372372
* use in config files.
373373
*
374-
* @param string|null $default
374+
* @param array<int|string, mixed>|bool|float|int|object|string|null $default
375375
*
376-
* @return bool|string|null
376+
* @return array<int|string, mixed>|bool|float|int|object|string|null
377377
*/
378378
function env(string $key, $default = null)
379379
{

0 commit comments

Comments
 (0)