Skip to content

Commit 854224b

Browse files
authored
Merge pull request #79 from codeigniter4/develop
Prep for Release v2.1.2
2 parents 1fc133b + f0aec55 commit 854224b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Helpers/setting_helper.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
/**
77
* Provides a convenience interface to the Settings service.
88
*
9-
* @param mixed|null $value
9+
* @param mixed $value
1010
*
1111
* @return array|bool|float|int|object|Settings|string|void|null
12+
* @phpstan-return ($key is null ? Settings : ($value is null ? array|bool|float|int|object|string|null : void))
1213
*/
1314
function setting(?string $key = null, $value = null)
1415
{

0 commit comments

Comments
 (0)