Skip to content

Commit 620c42f

Browse files
authored
FIX: make authUsing nullable (#354) (#355)
`authUsing` needs to be nullable in order to prevent `accessed before initialization` error.
1 parent 9b66c96 commit 620c42f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Totem.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Totem
1818
*
1919
* @var Closure
2020
*/
21-
public static Closure $authUsing;
21+
public static ?Closure $authUsing = null;
2222

2323
/**
2424
* Determine if the given request can access the Totem dashboard.

0 commit comments

Comments
 (0)