Skip to content

Commit 729bee6

Browse files
committed
fix: deprecation of implicit nullable type #0000
Explicitly tag the argument with the null union to avoid deprecation messages around implicit nulls.
1 parent 5750a16 commit 729bee6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/UserProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class UserProvider implements UserProviderInterface, RoleManagerInterface
2020
private $shouldRefresh;
2121
private $dispatcher;
2222

23-
public function __construct(Client $client, $shouldRefresh = true, EventDispatcherInterface $dispatcher = null)
23+
public function __construct(Client $client, $shouldRefresh = true, EventDispatcherInterface|null $dispatcher = null)
2424
{
2525
$this->client = $client;
2626
$this->shouldRefresh = (bool) $shouldRefresh;

0 commit comments

Comments
 (0)