Completed
Pull Request — master (#28)
by
unknown
03:19
created

EmptyPostalAddress   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A asDom() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: celinederoland
5
 * Date: 23.05.18
6
 * Time: 11:40
7
 */
8
9
namespace Z38\SwissPayment;
10
11
class EmptyPostalAddress implements PostalAddressInterface {
12
13
    /**
14
     * Returns a XML representation of the address
15
     *
16
     * @param \DOMDocument $doc
17
     *
18
     * @return \DOMElement The built DOM element
19
     */
20 2
    public function asDom(\DOMDocument $doc) {
21
        
22 2
        return null;
23
    }
24
25
}