Completed
Push — master ( fd90eb...52b814 )
by Stefan
04:00
created

LabelRecoveryRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 4

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 7 1
1
<?php
2
3
namespace Ups\Entity;
4
5
class LabelRecoveryRequest
6
{
7
    public $LabelSpecification;
8
    public $Translate;
9
    public $LabelDelivery;
10
    public $TrackingNumber;
11
    public $ReferenceNumber;
12
    public $ShipperNumber;
13
14 1
    public function __construct($request = null)
0 ignored issues
show
Unused Code introduced by
The parameter $request is not used and could be removed.

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

Loading history...
15
    {
16 1
        $this->LabelSpecification = new LabelSpecification();
17 1
        $this->Translate = new Translate();
18 1
        $this->LabelDelivery = new LabelDelivery();
19 1
        $this->ReferenceNumber = new ReferenceNumber();
20 1
    }
21
}
22