mimmi20/browser-detector

View on GitHub
src/Loader/VersionFactoryTrait.php

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Avoid too many return statements within this method.
Open

            return $versionClass;
Severity: Major
Found in src/Loader/VersionFactoryTrait.php - About 30 mins to fix

    Avoid too many return statements within this method.
    Open

                    return $versionDetector->detectVersion($useragent, $searches);
    Severity: Major
    Found in src/Loader/VersionFactoryTrait.php - About 30 mins to fix

      Avoid too many return statements within this method.
      Open

              return $versionClass;
      Severity: Major
      Found in src/Loader/VersionFactoryTrait.php - About 30 mins to fix

        Avoid too many return statements within this method.
        Open

                    return $versionDetector->detectVersion($useragent);
        Severity: Major
        Found in src/Loader/VersionFactoryTrait.php - About 30 mins to fix

          Avoid too many return statements within this method.
          Open

                          return $versionClass;
          Severity: Major
          Found in src/Loader/VersionFactoryTrait.php - About 30 mins to fix

            There are no issues that match your filters.

            Category
            Status