Add OPENID_HTTP_VERIFY_SSL_PEER env var to disable ssl cert verification

Closes #479
This commit is contained in:
Bubka
2025-06-03 09:43:25 +02:00
parent 7644306609
commit 44f94d6770
5 changed files with 15 additions and 1 deletions

View File

@ -15,7 +15,7 @@ if (! function_exists('envUnlessEmpty')) {
/**
* @return mixed|null
*/
function envUnlessEmpty(string $key, string|int|bool|float|null $default = null)
function envUnlessEmpty(string $key, string|int|bool|float|array|null $default = null)
{
$result = env($key, $default);
if ('' === $result) {