FakeCustomerIdsProvider::getCustomerIds()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
c 0
b 0
f 0
rs 9.8333
cc 1
nc 1
nop 0
1
<?php
2
declare(strict_types=1);
3
4
/**
5
 * File: FakeCustomerIdsProvider.php
6
 *
7
 * @author      Maciej Sławik <[email protected]>
8
 * Github:      https://github.com/maciejslawik
9
 */
10
11
namespace MSlwk\ReactPhpPlayground\Model;
12
13
use MSlwk\ReactPhpPlayground\Api\CustomerIdsProviderInterface;
14
15
/**
16
 * Class FakeCustomerIdsProvider
17
 * @package MSlwk\ReactPhpPlayground\Model
18
 */
19
class FakeCustomerIdsProvider implements CustomerIdsProviderInterface
20
{
21
    /**
22
     * @return int[]
23
     */
24
    public function getCustomerIds(): array
25
    {
26
        return [
27
            1,
28
            2,
29
            3,
30
            4,
31
            5,
32
            6,
33
            7,
34
            8
35
        ];
36
    }
37
}
38