Skip to content

Commit

Permalink
Replace implicitly nullable parameters for PHP 8.4 (#580)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeppeKnockaert authored Nov 27, 2024
1 parent bbc68d8 commit 5022e7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TwoFactorAuthenticationProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class TwoFactorAuthenticationProvider implements TwoFactorAuthenticationProvider
* @param \Illuminate\Contracts\Cache\Repository|null $cache
* @return void
*/
public function __construct(Google2FA $engine, Repository $cache = null)
public function __construct(Google2FA $engine, ?Repository $cache = null)
{
$this->engine = $engine;
$this->cache = $cache;
Expand Down

0 comments on commit 5022e7c

Please sign in to comment.