mirror of
https://github.com/predis/predis.git
synced 2026-08-29 19:55:45 +00:00
Use static closures (#1652)
This commit is contained in:
@@ -56,7 +56,7 @@ $options = [
|
||||
'commands' => [
|
||||
'hmgetall' => 'HashMultipleGetAll',
|
||||
],
|
||||
'replication' => function () {
|
||||
'replication' => static function () {
|
||||
$strategy = new ReplicationStrategy();
|
||||
$strategy->setScriptReadOnly(HashMultipleGetAll::BODY);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user