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

src/Transport/Protocol/v091/Basic.php 2 locations

@@ 43-52 (lines=10) @@
40
        $this->translate = $translator;
41
    }
42
43
    public function ack(FrameChannel $channel, Ack $command): Frame
44
    {
45
        return new Frame(
46
            Type::method(),
47
            $channel,
48
            Methods::get('basic.ack'),
49
            new UnsignedLongLongInteger(new Integer($command->deliveryTag())),
50
            new Bits($command->isMultiple())
51
        );
52
    }
53
54
    public function cancel(FrameChannel $channel, Cancel $command): Frame
55
    {
@@ 152-161 (lines=10) @@
149
        );
150
    }
151
152
    public function reject(FrameChannel $channel, Reject $command): Frame
153
    {
154
        return new Frame(
155
            Type::method(),
156
            $channel,
157
            Methods::get('basic.reject'),
158
            new UnsignedLongLongInteger(new Integer($command->deliveryTag())),
159
            new Bits($command->shouldRequeue())
160
        );
161
    }
162
}
163