We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 297079a commit e02ad34Copy full SHA for e02ad34
test.php
@@ -111,10 +111,10 @@ function getDatabase(Config $config)
111
112
function getCommand(Config $config)
113
{
114
- if (!isset($config->getMiddlewares()['reconnect']['commandHandler'])) {
+ if (!is_callable($config->getProperty('reconnect.commandHandler'))) {
115
return $config->getCommand();
116
}
117
- return $config->getMiddlewares()['reconnect']['commandHandler']();
+ return $config->getProperty('reconnect.commandHandler')();
118
119
120
function getTables(Config $config)
0 commit comments