Skip to content

Commit 51ebaf2

Browse files
baiyyunwuxin
authored andcommitted
Update Database.php
少了return
1 parent 7bac4d7 commit 51ebaf2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/queue/connector/Database.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ public static function __make(Db $db, $config)
6565

6666
public function size($queue = null)
6767
{
68-
$this->db->name($this->table)
68+
return $this->db->name($this->table)
6969
->where('queue', $this->getQueue($queue))
7070
->count();
7171
}

0 commit comments

Comments
 (0)