Updated   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 22
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A rows() 0 3 1
1
<?php
2
/**
3
 * Updated result
4
 * User: moyo
5
 * Date: 02/11/2017
6
 * Time: 3:04 PM
7
 */
8
9
namespace Carno\Database\Results;
10
11
class Updated
12
{
13
    /**
14
     * @var int
15
     */
16
    private $rows = null;
17
18
    /**
19
     * Updated constructor.
20
     * @param int $rows
21
     */
22
    public function __construct(int $rows)
23
    {
24
        $this->rows = $rows;
25
    }
26
27
    /**
28
     * @return int
29
     */
30
    public function rows() : int
31
    {
32
        return $this->rows;
33
    }
34
}
35