Skip to content

Commit 16f7daf

Browse files
Adam Roses Wightejegg
authored andcommitted
servers don't have to be an array
In fact, we can't use transactions if connecting to an "aggregate connection" anyway. Change-Id: I70c94ee82c09dd7cbbd3bab3ab76c3684e1c3317
1 parent e223a69 commit 16f7daf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/PHPQueue/Backend/Predis.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ class Predis
4646
public function __construct($options=array())
4747
{
4848
parent::__construct();
49-
if (!empty($options['servers']) && is_array($options['servers'])) {
49+
if (!empty($options['servers'])) {
5050
$this->servers = $options['servers'];
5151
}
5252
if (!empty($options['redis_options']) && is_array($options['redis_options'])) {

0 commit comments

Comments
 (0)