Skip to content

Commit f28d81a

Browse files
committed
fix: 🐛 Handle null values
1 parent 5d918bd commit f28d81a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ public function __construct(array $user_config)
158158
'jwt_plain_key' => false
159159
];
160160
foreach ($props as $prop => $default) {
161-
$this->{$prop} = $config->get($prop, $default);
161+
$this->{$prop} = $config->get($prop, $default) ?? $default;
162162
}
163163

164164
if (empty($this->code_challenge_method)) {

0 commit comments

Comments
 (0)