1
0
Fork 0
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:
Yassine Guedidi 2025-04-02 00:18:49 +02:00
parent 402d80cd30
commit 95730754e8
2 changed files with 2 additions and 2 deletions

View file

@ -9,6 +9,6 @@ class AMQPEntryConsumer extends AbstractConsumer implements ConsumerInterface
{ {
public function execute(AMQPMessage $msg) public function execute(AMQPMessage $msg)
{ {
return $this->handleMessage($msg->body); return $this->handleMessage($msg->getBody());
} }
} }

View file

@ -115,6 +115,6 @@ class RabbitMQConsumerTotalProxy
return 0; return 0;
} }
return $message->delivery_info['message_count'] + 1; return $message->getMessageCount() + 1;
} }
} }