mirror of
https://github.com/predis/predis.git
synced 2026-10-18 01:36:04 +00:00
use short array syntax
This commit is contained in:
@@ -78,7 +78,7 @@ abstract class ScriptCommand extends Command
|
||||
$numkeys = count($arguments) + $numkeys;
|
||||
}
|
||||
|
||||
$arguments = array_merge(array($this->getScriptHash(), (int) $numkeys), $arguments);
|
||||
$arguments = array_merge([$this->getScriptHash(), (int) $numkeys], $arguments);
|
||||
|
||||
parent::setArguments($arguments);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user