Skip to content

Commit 5bbf817

Browse files
authored
Merge pull request #22 from yuan-dian/patch-1
兼容8.4版本
2 parents 6086558 + fd3a7cf commit 5bbf817

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/helpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,11 @@ function get_local_ip(): string
5050
* @param mixed|null $default
5151
* @return array|mixed|null
5252
*/
53-
function config(string $key = null, $default = null)
53+
function config(?string $key = null, mixed $default = null)
5454
{
5555
if (Client::$debug) {
5656
return $default;
5757
} else {
5858
return \config($key, $default);
5959
}
60-
}
60+
}

0 commit comments

Comments
 (0)