Passed
Pull Request — master (#372)
by Wilmer
03:26
created

QuoterProvider   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 29
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 7
c 1
b 0
f 0
dl 0
loc 29
rs 10
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A simpleTableNames() 0 4 1
A columnNames() 0 4 1
A simpleColumnNames() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Yiisoft\Db\Tests\Provider;
6
7
final class QuoterProvider
8
{
9
    /**
10
     * @return string[][]
11
     */
12
    public function columnNames(): array
13
    {
14
        return [
15
            ['*', '*'],
16
        ];
17
    }
18
19
    /**
20
     * @return string[][]
21
     */
22
    public function simpleColumnNames(): array
23
    {
24
        return [
25
            ['*', '*', '*'],
26
        ];
27
    }
28
29
    /**
30
     * @return string[][]
31
     */
32
    public function simpleTableNames(): array
33
    {
34
        return [
35
            ['test', 'test', ],
36
        ];
37
    }
38
}
39