src/Message/LndMessageWorker.php
Method createInvoiceMessage
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private function createInvoiceMessage(AMQPMessage $amqpMessage): LightningInvoiceMessageInterface
{
$invoice = json_decode($amqpMessage->body, true);
switch ($invoice['state']) {