Pager   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 9
rs 10
c 0
b 0
f 0
ccs 2
cts 2
cp 1
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPagerParameter() 0 3 1
1
<?php
2
/**
3
 * File: Pager.php
4
 *
5
 * @author      Maciej Sławik <[email protected]>
6
 * Github:      https://github.com/maciejslawik
7
 */
8
9
namespace MSlwk\Otomoto\App\Stats\Pager;
10
11
/**
12
 * Class Pager
13
 * @package MSlwk\Otomoto\App\Stats\Pager
14
 */
15
class Pager implements PagerInterface
16
{
17
    /**
18
     * @param int $page
19
     * @return string
20
     */
21 1
    public function getPagerParameter(int $page): string
22
    {
23 1
        return "page={$page}";
24
    }
25
}
26