mirror of
https://github.com/wallabag/wallabag.git
synced 2025-06-27 16:36:00 +00:00
Replace property access by getters
This commit is contained in:
parent
402d80cd30
commit
95730754e8
2 changed files with 2 additions and 2 deletions
|
@ -9,6 +9,6 @@ class AMQPEntryConsumer extends AbstractConsumer implements ConsumerInterface
|
|||
{
|
||||
public function execute(AMQPMessage $msg)
|
||||
{
|
||||
return $this->handleMessage($msg->body);
|
||||
return $this->handleMessage($msg->getBody());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -115,6 +115,6 @@ class RabbitMQConsumerTotalProxy
|
|||
return 0;
|
||||
}
|
||||
|
||||
return $message->delivery_info['message_count'] + 1;
|
||||
return $message->getMessageCount() + 1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue