Completed
Push — master ( c7f0ae...412313 )
by James
9s
created

Thing   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 2 1
A methodGone() 0 2 1
1
<?php
2
declare(strict_types=1);
3
4
class Thing
5
{
6
    public function __construct(int $something)
0 ignored issues
show
Unused Code introduced by
The parameter $something is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

6
    public function __construct(/** @scrutinizer ignore-unused */ int $something)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
7
    {
8
    }
9
10
    public function methodGone()
11
    {
12
    }
13
}
14