Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion src/Helpers/setting_helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down