We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4dbd70 commit 0af2d9bCopy full SHA for 0af2d9b
src/Helper.php
@@ -6,7 +6,7 @@
6
use Tzsk\Otp\Otp;
7
8
if (! function_exists('otp')) {
9
- function otp(string $directory = null): Otp
+ function otp(?string $directory = null): Otp
10
{
11
if ($directory) {
12
$store = new Repository(new FileStore(new Filesystem(), $directory));
0 commit comments