We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6086558 + fd3a7cf commit 5bbf817Copy full SHA for 5bbf817
1 file changed
src/helpers.php
@@ -50,11 +50,11 @@ function get_local_ip(): string
50
* @param mixed|null $default
51
* @return array|mixed|null
52
*/
53
-function config(string $key = null, $default = null)
+function config(?string $key = null, mixed $default = null)
54
{
55
if (Client::$debug) {
56
return $default;
57
} else {
58
return \config($key, $default);
59
}
60
-}
+}
0 commit comments