Failed Conditions
Push — master ( 9327e7...7f99bf )
by Vladimir
04:21
created

NumberHolder   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 3
dl 0
loc 8
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace GraphQL\Tests\Executor\TestClasses;
6
7
class NumberHolder
8
{
9
    /** @var float */
10
    public $theNumber;
11
12
    public function __construct(float $originalNumber)
13
    {
14
        $this->theNumber = $originalNumber;
15
    }
16
}
17