ernestwisniewski/kbin

View on GitHub
src/Controller/Api/Entry/DomainEntriesRetrieveApi.php

Summary

Maintainability
A
1 hr
Test Coverage

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

    #[OA\Response(
        response: 200,
        description: 'Returns a paginated list of entries from a specific domain',
        content: new OA\JsonContent(
            type: 'object',
Severity: Minor
Found in src/Controller/Api/Entry/DomainEntriesRetrieveApi.php - About 1 hr to fix

    Method __invoke has 6 arguments (exceeds 4 allowed). Consider refactoring.
    Open

            #[MapEntity(id: 'domain_id')]
            Domain $domain,
            EntryRepository $repository,
            EntryFactory $factory,
            RequestStack $request,
    Severity: Minor
    Found in src/Controller/Api/Entry/DomainEntriesRetrieveApi.php - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status