Test Failed
Push — master ( a5a28b...999969 )
by Marcin
02:51
created

Contents   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getXml() 0 6 1
1
<?php
2
/**
3
 * Grandstream-XMLApp
4
 *
5
 * Copyright (c) 2017 pudelek.org.pl
6
 *
7
 * @license MIT License (MIT)
8
 *
9
 * For the full copyright and license information, please view source file
10
 * that is bundled with this package in the file LICENSE
11
 *
12
 * @author  Marcin Pudełek <[email protected]>
13
 */
14
15
16
namespace mrcnpdlk\Grandstream\XMLApp\Application\Model;
17
18
19
use mrcnpdlk\Grandstream\XMLApp\MyXML;
20
21
class Contents implements ModelInterface
22
{
23
24
    public function getXml(): MyXML
25
    {
26
        $oXml = new MyXML('Contents');
27
28
        return $oXml;
29
    }
30
}