kix/apiranha

View on GitHub
src/Hydrator/GeneratedHydratorListener.php

Summary

Maintainability
A
1 hr
Test Coverage

Method process has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function process(ResponseInterface $response, ResourceDefinitionInterface $resource)
    {
        if (!$response instanceof ApiResponse) {
            throw new InvalidArgumentException(sprintf(
                'Expected an `ApiResponse`, got `%s` instead',
Severity: Minor
Found in src/Hydrator/GeneratedHydratorListener.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status