Passed
Push — master ( 474b60...e69b5a )
by Gareth
02:14
created

Type::toXmlObject()   A

Complexity

Conditions 3
Paths 3

Size

Total Lines 18
Code Lines 9

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 9
CRAP Score 3.009

Importance

Changes 2
Bugs 0 Features 0
Metric Value
cc 3
eloc 9
nc 3
nop 0
dl 0
loc 18
ccs 9
cts 10
cp 0.9
crap 3.009
rs 9.9666
c 2
b 0
f 0
1
<?php
2
/**
3
 * Contains \garethp\ews\API\Type.
4
 */
5
6
namespace garethp\ews\API;
7
8
use garethp\ews\BuildableTrait;
9
10
/**
11
 * Base class for Exchange Web Service Types.
12
 *
13
 * @package php-ews\Type
14
 */
15
#[\AllowDynamicProperties]
16
class Type
17
{
18
    use MagicMethodsTrait;
0 ignored issues
show
Bug introduced by
The trait garethp\ews\API\MagicMethodsTrait requires the property $Entry which is not provided by garethp\ews\API\Type.
Loading history...
19
    use BuildableTrait;
20
}
21