Completed
Push — master ( 5f432b...5d5b15 )
by Jens
15:50 queued 05:48
created

KeyResourceIdentifier::setId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 1
crap 2
1
<?php
2
/**
3
 * @author @jayS-de <[email protected]>
4
 */
5
6
namespace Commercetools\Core\Model\Common;
7
8
/**
9
 * @package Commercetools\Core\Model\Common
10
 *
11
 * @method string getTypeId()
12
 * @method KeyResourceIdentifier setTypeId(string $typeId = null)
13
 * @method string getKey()
14
 * @method KeyResourceIdentifier setKey(string $key = null)
15
 */
16
class KeyResourceIdentifier extends ResourceIdentifier
17
{
18
    /**
19
     * @internal
20
     * @return null
21
     */
22
    public function getId()
23
    {
24
        return null;
25
    }
26
27
    /**
28
     * @internal
29
     * @param null $id
30
     * @return $this
31
     */
32
    public function setId($id = null)
33
    {
34
        return $this;
35
    }
36
}
37