serp-spider/search-engine-google

View on GitHub
src/Parser/Evaluated/Rule/Natural/ImageGroup.php

Summary

Maintainability
A
1 hr
Test Coverage

Avoid too many return statements within this method.
Open

        return new BaseResult(NaturalResultType::IMAGE_GROUP_IMAGE, $data);
Severity: Major
Found in src/Parser/Evaluated/Rule/Natural/ImageGroup.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return MediaFactory::createMediaFromSrc($img->getAttribute('src'));
    Severity: Major
    Found in src/Parser/Evaluated/Rule/Natural/ImageGroup.php - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status