Skip to content

Commit 5022e7c

Browse files
Replace implicitly nullable parameters for PHP 8.4 (#580)
1 parent bbc68d8 commit 5022e7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TwoFactorAuthenticationProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class TwoFactorAuthenticationProvider implements TwoFactorAuthenticationProvider
2929
* @param \Illuminate\Contracts\Cache\Repository|null $cache
3030
* @return void
3131
*/
32-
public function __construct(Google2FA $engine, Repository $cache = null)
32+
public function __construct(Google2FA $engine, ?Repository $cache = null)
3333
{
3434
$this->engine = $engine;
3535
$this->cache = $cache;

0 commit comments

Comments
 (0)