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

src/Set.php 2 locations

@@ 112-127 (lines=16) @@
109
    /**
110
     * {@inheritdoc}
111
     */
112
    public function intersect(SetInterface $set): SetInterface
113
    {
114
        $this->validate($set);
115
116
        $newSet = clone $this;
117
        $newSet->values = $this->values->intersect(
118
            $set->reduce(
119
                $this->values->clear(),
120
                function(Stream $carry, $value): Stream {
121
                    return $carry->add($value);
122
                }
123
            )
124
        );
125
126
        return $newSet;
127
    }
128
129
    /**
130
     * {@inheritdoc}
@@ 177-192 (lines=16) @@
174
    /**
175
     * {@inheritdoc}
176
     */
177
    public function diff(SetInterface $set): SetInterface
178
    {
179
        $this->validate($set);
180
181
        $newSet = clone $this;
182
        $newSet->values = $this->values->diff(
183
            $set->reduce(
184
                $this->values->clear(),
185
                function(Stream $carry, $value): Stream {
186
                    return $carry->add($value);
187
                }
188
            )
189
        );
190
191
        return $newSet;
192
    }
193
194
    /**
195
     * {@inheritdoc}