tomaj/invoice-client

View on GitHub
src/Serializer.php

Summary

Maintainability
A
1 hr
Test Coverage

Method encodeInvoice has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function encodeInvoice(Invoice $invoice)
    {
        $data = [
            'id' => $invoice->getId(),
            'number' => $invoice->getNumber(),
Severity: Minor
Found in src/Serializer.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status