GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Code Duplication    Length = 9-9 lines in 2 locations

src/MonitorRepository.php 2 locations

@@ 55-63 (lines=9) @@
52
        return MonitorCollection::make($monitors)->sortByHost();
53
    }
54
55
    public static function getWithFailingUptimeCheck(): Collection
56
    {
57
        $monitors = self::query()
58
            ->where('uptime_check_enabled', true)
59
            ->where('uptime_status', UptimeStatus::DOWN)
60
            ->get();
61
62
        return MonitorCollection::make($monitors)->sortByHost();
63
    }
64
65
    public static function getWithFailingCertificateCheck(): Collection
66
    {
@@ 65-73 (lines=9) @@
62
        return MonitorCollection::make($monitors)->sortByHost();
63
    }
64
65
    public static function getWithFailingCertificateCheck(): Collection
66
    {
67
        $monitors = self::query()
68
            ->where('certificate_check_enabled', true)
69
            ->where('certificate_status', CertificateStatus::INVALID)
70
            ->get();
71
72
        return MonitorCollection::make($monitors)->sortByHost();
73
    }
74
75
    public static function getUnhealthy(): Collection
76
    {