|
@@ -26,7 +26,7 @@ class Queue implements Core
|
|
|
public function push($value, $key = false)
|
|
|
{
|
|
|
$value = json_encode($value, JSON_UNESCAPED_UNICODE);
|
|
|
- $this->db->push($this->key($key), $value);
|
|
|
+ return $this->db->push($value, $this->key($key));
|
|
|
}
|
|
|
|
|
|
public function pop($key = false)
|