Skip to content

Commit

Permalink
fix: return type of oat\tao\model\taskQueue\Queue::count() should be …
Browse files Browse the repository at this point in the history
…int.
  • Loading branch information
Janos Pribelszki committed Oct 11, 2023
1 parent b17848b commit 58935d8
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions models/classes/taskQueue/Queue.php
Original file line number Diff line number Diff line change
Expand Up @@ -203,10 +203,8 @@ public function acknowledge(TaskInterface $task)

/**
* Count of messages in the queue.
*
* @return int
*/
public function count()
public function count(): int
{
return $this->getBroker()->count();
}
Expand Down

0 comments on commit 58935d8

Please sign in to comment.