Completed
Push — master ( 36acf6...c2375b )
by
unknown
13:20
created

SearchElement::getRecordId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 1 Features 3
Metric Value
c 3
b 1
f 3
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace OroCRM\Bundle\SalesBundle\Tests\Unit\Autocomplete;
4
5
class SearchElement
6
{
7
    /** @var int */
8
    protected $id;
9
10
    /**
11
     * @param int $id
12
     */
13
    public function __construct($id)
14
    {
15
        $this->id = $id;
16
    }
17
18
    /**
19
     * @return int
20
     */
21
    public function getRecordId()
22
    {
23
        return $this->id;
24
    }
25
}
26