diff --git a/src/Helpers/setting_helper.php b/src/Helpers/setting_helper.php index c2457f8..9d67629 100644 --- a/src/Helpers/setting_helper.php +++ b/src/Helpers/setting_helper.php @@ -6,9 +6,10 @@ /** * Provides a convenience interface to the Settings service. * - * @param mixed|null $value + * @param mixed $value * * @return array|bool|float|int|object|Settings|string|void|null + * @phpstan-return ($key is null ? Settings : ($value is null ? array|bool|float|int|object|string|null : void)) */ function setting(?string $key = null, $value = null) {