Passed
Pull Request — master (#1)
by Jonathan
02:28
created

Users   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getSourceRows() 0 5 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace App\DataSources;
6
7
use Doctrine\SkeletonMapper\DataSource\DataSource;
8
9
class Users implements DataSource
10
{
11
    /**
12
     * @return mixed[][]
13
     */
14
    public function getSourceRows() : array
15
    {
16
        return [
17
            ['username' => 'jwage'],
18
            ['username' => 'ocramius'],
19
        ];
20
    }
21
}
22