mirror of
https://github.com/predis/predis.git
synced 2026-08-24 16:29:27 +00:00
use short array syntax
This commit is contained in:
@@ -49,11 +49,11 @@ LUA;
|
||||
}
|
||||
}
|
||||
|
||||
$client = new Predis\Client($single_server, array(
|
||||
'commands' => array(
|
||||
$client = new Predis\Client($single_server, [
|
||||
'commands' => [
|
||||
'increxby' => 'IncrementExistingKeysBy',
|
||||
),
|
||||
));
|
||||
],
|
||||
]);
|
||||
|
||||
$client->mset('foo', 10, 'foobar', 100);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user