Passed
Push — master ( 37e483...d2fc64 )
by Wilmer
11:53 queued 09:06
created

CommandPDOProvider   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A bindParam() 0 5 1
A bindParamsNonWhere() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Db\Tests\Provider;
6
7
final class CommandPDOProvider
8
{
9
    public function bindParam(): array
10
    {
11
        $baseCommandPDOProvider = new BaseCommandPDOProvider();
12
13
        return $baseCommandPDOProvider->bindParam();
14
    }
15
16
    public function bindParamsNonWhere(): array
17
    {
18
        $baseCommandPDOProvider = new BaseCommandPDOProvider();
19
20
        return $baseCommandPDOProvider->bindParamsNonWhere();
21
    }
22
}
23