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 = 12-13 lines in 3 locations

Source/Analysis/ExpressionAnalyser.php 3 locations

@@ 246-258 (lines=13) @@
243
        }
244
    }
245
246
    public function visitStaticMethodCall(O\StaticMethodCallExpression $expression)
247
    {
248
        $classExpression = $expression->getClass();
249
        $this->walk($classExpression);
250
        $this->walk($expression->getName());
251
        $this->walkAll($expression->getArguments());
252
253
        $class = $this->validateStaticClassName($classExpression, 'static method call');
254
        $this->addTypeOperation(
255
                $expression,
256
                $this->typeSystem->getObjectType($class)->getStaticMethod($expression)
257
        );
258
    }
259
260
    public function visitStaticField(O\StaticFieldExpression $expression)
261
    {
@@ 260-272 (lines=13) @@
257
        );
258
    }
259
260
    public function visitStaticField(O\StaticFieldExpression $expression)
261
    {
262
        $classExpression = $expression->getClass();
263
        $this->walk($classExpression);
264
        $this->walk($expression->getName());
265
266
        $class = $this->validateStaticClassName($classExpression, 'static field');
267
268
        $this->addTypeOperation(
269
                $expression,
270
                $this->typeSystem->getObjectType($class)->getStaticField($expression)
271
        );
272
    }
273
274
    public function visitNew(O\NewExpression $expression)
275
    {
@@ 274-285 (lines=12) @@
271
        );
272
    }
273
274
    public function visitNew(O\NewExpression $expression)
275
    {
276
        $classExpression = $expression->getClass();
277
        $this->walk($classExpression);
278
        $this->walkAll($expression->getArguments());
279
280
        $class = $this->validateStaticClassName($classExpression, 'new');
281
        $this->addTypeOperation(
282
                $expression,
283
                $this->typeSystem->getObjectType($class)->getConstructor($expression)
284
        );
285
    }
286
287
    public function visitTernary(O\TernaryExpression $expression)
288
    {