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

src/Shifter/DayOfWeekShifter.php 2 locations

@@ 109-119 (lines=11) @@
106
     * @param \DateTime $time
107
     * @return int
108
     */
109
    protected function getTimestampForFirstDayOfMonth(\DateTime $time)
110
    {
111
        return mktime(
112
            null,
113
            null,
114
            null,
115
            $time->format('m'),
116
            1,
117
            $time->format('Y')
118
        );
119
    }
120
121
    /**
122
     * @param \DateTime $time
@@ 125-135 (lines=11) @@
122
     * @param \DateTime $time
123
     * @return int
124
     */
125
    protected function getTimestampForLastDayOfMonth(\DateTime $time)
126
    {
127
        return mktime(
128
            null,
129
            null,
130
            null,
131
            $time->format('m'),
132
            $time->format('t'),
133
            $time->format('Y')
134
        );
135
    }
136
137
    /**
138
     * @param \DateTime $time