Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

Commit e1ce653

Browse files
committed
Pass $default to underlying function
1 parent 5b347e6 commit e1ce653

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/helpers.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@ function credentials(string $key, $default = null) {
1010
$credentials = app(Credentials::class);
1111
$credentials->load($filename);
1212

13-
return $credentials->get($key);
13+
return $credentials->get($key, $default);
1414
} catch (ReflectionException $e) {
1515
return Credentials::CONFIG_PREFIX.$key;
1616
}
1717
}
18-
}
18+
}

0 commit comments

Comments
 (0)