Skip to content

Commit 97cff1f

Browse files
committed
refactor: using condition in @return
1 parent 4a0a07c commit 97cff1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

system/Common.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ function db_connect($db = null, bool $getShared = true)
375375
*
376376
* @param T $default
377377
*
378-
* @return T
378+
* @return ($default is null ? array<int|string, mixed>|bool|float|int|string|null : T)
379379
*/
380380
function env(string $key, $default = null)
381381
{

0 commit comments

Comments
 (0)