We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7f7f00 commit 8a251b5Copy full SHA for 8a251b5
src/MySQLReplication/MySQLReplicationFactory.php
@@ -33,11 +33,11 @@ class MySQLReplicationFactory
33
34
public function __construct(
35
Config $config,
36
- RepositoryInterface $repository = null,
37
- CacheInterface $cache = null,
38
- EventDispatcherInterface $eventDispatcher = null,
39
- SocketInterface $socket = null,
40
- LoggerInterface $logger = null
+ ?RepositoryInterface $repository = null,
+ ?CacheInterface $cache = null,
+ ?EventDispatcherInterface $eventDispatcher = null,
+ ?SocketInterface $socket = null,
+ ?LoggerInterface $logger = null
41
) {
42
$config->validate();
43
0 commit comments