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

@@ 407-413 (lines=7) @@
404
    {
405
        $dateTime = $this->copyDateTime($dateTime);
406
        $nextClose = null;
407
        if ($this->overflow) {
408
            $dateTimeMinus1Day = $this->copyDateTime($dateTime)->modify('-1 day');
409
            $openingHoursForDayBefore = $this->forDate($dateTimeMinus1Day);
410
            if ($openingHoursForDayBefore->isOpenAtNight(Time::fromDateTime($dateTimeMinus1Day))) {
411
                $nextClose = $openingHoursForDayBefore->nextClose(Time::fromDateTime($dateTime));
412
            }
413
        }
414
415
        $openingHoursForDay = $this->forDate($dateTime);
416
        if (! $nextClose) {
@@ 489-495 (lines=7) @@
486
    {
487
        $dateTime = $this->copyDateTime($dateTime);
488
        $previousClose = null;
489
        if ($this->overflow) {
490
            $dateTimeMinus1Day = $this->copyDateTime($dateTime)->modify('-1 day');
491
            $openingHoursForDayBefore = $this->forDate($dateTimeMinus1Day);
492
            if ($openingHoursForDayBefore->isOpenAtNight(Time::fromDateTime($dateTimeMinus1Day))) {
493
                $previousClose = $openingHoursForDayBefore->previousClose(Time::fromDateTime($dateTime));
494
            }
495
        }
496
497
        $openingHoursForDay = $this->forDate($dateTime);
498
        if (! $previousClose) {