Test Failed
Push — master ( b0170f...710cb0 )
by Mathijs
05:30
created

JobClusterNameUpdate   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 17
ccs 0
cts 5
cp 0
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getName() 0 4 1
A __construct() 0 4 1
1
<?php
2
3
namespace mcorten87\rabbitmq_api\jobs;
4
5
class JobClusterNameUpdate extends JobBase
6
{
7
    private $name;
8
9
    /**
10
     * @return string
11
     */
12
    public function getName(): string
13
    {
14
        return $this->name;
15
    }
16
17
    public function __construct(string $name)
18
    {
19
        $this->name = $name;
20
    }
21
}
22