Failed Conditions
Pull Request — develop (#3523)
by
unknown
65:32
created

LastInsertId::setId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\DBAL\Driver\PDOSqlsrv;
6
7
/**
8
 * Last Id Data Container.
9
 */
10
class LastInsertId
11
{
12
    /** @var string */
13
    private $id;
14
15
    /**
16
     * @param string $id
17
     */
18
    public function setId($id)
19
    {
20
        $this->id = $id;
21
    }
22
23
    /**
24
     * @return string
25
     */
26
    public function getId()
27
    {
28
        return $this->id;
29
    }
30
}
31