Test Setup Failed
Push — master ( 4f349b...502500 )
by Carsten
05:09
created

SalesmanIdProviderTrait::getSalesmanId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
namespace Germania\Salesmen;
3
4
trait SalesmanIdProviderTrait
5
{
6
7
    /**
8
     * @var mixed
9
     */
10
    public $salesman_id;
11
12
13
    /**
14
     * Returns the Salesman ID.
15
     *
16
     * @return int|string
17
     */
18
    public function getSalesmanId()
19
    {
20
        return $this->salesman_id;
21
    }
22
}
23