Passed
Push — master ( 981a06...e99466 )
by Felipe
07:58 queued 04:02
created

ADORecordSet::count()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
/**
4
 * PHPPgAdmin v6.0.0-RC9
5
 */
6
7
namespace PHPPgAdmin;
8
9
/**
10
 * @file
11
 * Extends ADORecordSet to let correct inference on PHPDoc params
12
 *
13
 * @package PHPPgAdmin
14
 */
15
16
/**
17
 * Extends ADORecordSet to let correct inference on PHPDoc params.
18
 *
19
 * @package PHPPgAdmin
20
 */
21
class ADORecordSet extends \ADORecordSet implements \Countable
22
{
23
    /**
24
     * Returns the recordCount.
25
     */
26
    public function count(): int
27
    {
28
        return $this->NumRows();
29
    }
30
}
31