Content   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
c 1
b 0
f 1
lcom 0
cbo 0
dl 0
loc 23
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
namespace Sichikawa\SendgridApiBuilder\Api;
3
4
5
class Content
6
{
7
    /**
8
     * @var string
9
     */
10
    public $type;
11
12
    /**
13
     * @var string
14
     */
15
    public $value;
16
17
    /**
18
     * Content constructor.
19
     * @param string $type
20
     * @param string $value
21
     */
22
    public function __construct($type, $value)
23
    {
24
        $this->type = $type;
25
        $this->value = $value;
26
    }
27
}
28