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 = 7-7 lines in 2 locations

src/OpeningHours.php 2 locations

@@ 386-392 (lines=7) @@
383
    {
384
        $dateTime = $this->copyDateTime($dateTime);
385
        $nextClose = null;
386
        if ($this->overflow) {
387
            $dateTimeMinus1Day = $this->copyDateTime($dateTime)->modify('-1 day');
388
            $openingHoursForDayBefore = $this->forDate($dateTimeMinus1Day);
389
            if ($openingHoursForDayBefore->isOpenAtNight(Time::fromDateTime($dateTimeMinus1Day))) {
390
                $nextClose = $openingHoursForDayBefore->nextClose(Time::fromDateTime($dateTime));
391
            }
392
        }
393
394
        $openingHoursForDay = $this->forDate($dateTime);
395
        if (! $nextClose) {
@@ 468-474 (lines=7) @@
465
    {
466
        $dateTime = $this->copyDateTime($dateTime);
467
        $previousClose = null;
468
        if ($this->overflow) {
469
            $dateTimeMinus1Day = $this->copyDateTime($dateTime)->modify('-1 day');
470
            $openingHoursForDayBefore = $this->forDate($dateTimeMinus1Day);
471
            if ($openingHoursForDayBefore->isOpenAtNight(Time::fromDateTime($dateTimeMinus1Day))) {
472
                $previousClose = $openingHoursForDayBefore->previousClose(Time::fromDateTime($dateTime));
473
            }
474
        }
475
476
        $openingHoursForDay = $this->forDate($dateTime);
477
        if (! $previousClose) {