Skip to content
This repository has been archived by the owner on Jul 28, 2022. It is now read-only.

Commit

Permalink
Merge 3.x into master
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Apr 26, 2018
2 parents ae45e84 + 0c35bd6 commit b81e038
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Backend/MessageManagerBackendDispatcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public function handle(MessageInterface $message, EventDispatcherInterface $disp
*/
public function getStatus()
{
return new Success('Channel is running (RabbitMQ) and consumers for all queues available.');
return new Success('Channel is running (Database) and consumers for all queues available.');
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/Entity/MessageManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function countStates()
MessageInterface::STATE_OPEN => 0,
];

foreach ($stm->fetch() as $data) {
while ($data = $stm->fetch()) {
$states[$data['state']] = $data['cnt'];
}

Expand Down

0 comments on commit b81e038

Please sign in to comment.