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

LabelRecoveryRequest::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 7
ccs 6
cts 6
cp 1
rs 9.4285
cc 1
eloc 5
nc 1
nop 1
crap 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