Commit d5a28a0a by duwenjun

兼容php5.4

parent edf88f63
Showing with 1 additions and 1 deletions
......@@ -11,7 +11,7 @@ class RabbitQueueModel
private $connection;
public function __construct(string $connect_name = '')
public function __construct($connect_name = '')
{
if ($connect_name) {
$config = Config('rabbitmq.connections.' . $connect_name);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment