NGUtech/lnd-adapter

View on GitHub
src/Message/LndMessageWorker.php

Summary

Maintainability
A
1 hr
Test Coverage
F
0%

Method createInvoiceMessage has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    private function createInvoiceMessage(AMQPMessage $amqpMessage): LightningInvoiceMessageInterface
    {
        $invoice = json_decode($amqpMessage->body, true);

        switch ($invoice['state']) {
Severity: Minor
Found in src/Message/LndMessageWorker.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status