ScalarType   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 20
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 4 1
1
<?php
2
3
namespace Fubhy\GraphQL\Type\Definition\Types;
4
5
/**
6
 * Scalar Type Definition.
7
 *
8
 * The leaf values of any request and input values to arguments are Scalars (or
9
 * Enums) and are defined with a name and a series of coercion functions used to
10
 * ensure validity.
11
 */
12
abstract class ScalarType extends Type implements ScalarTypeInterface
13
{
14
    /**
15
     * @var string
16
     */
17
    protected $name;
18
19
    /**
20
     * @var string
21
     */
22
    protected $description;
23
24
    /**
25
     * Constructor.
26
     */
27 6
    public function __construct()
28
    {
29
        // Override the parent implementation.
30 6
    }
31
}
32