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

ADORecordSet   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 2
c 1
b 0
f 0
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A count() 0 3 1
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