Completed
Push — master ( de9ece...1b5216 )
by Gabriel
05:03
created

RaceTecClient   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 16
c 0
b 0
f 0
ccs 0
cts 2
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A results() 0 4 1
1
<?php
2
3
namespace Sportic\Timing\RaceTecClient;
4
5
use Sportic\Timing\RaceTecClient\Scrapers\EventPage;
6
7
/**
8
 * Class RaceTecClient
9
 * @package Sportic\Timing\RaceTecClient
10
 */
11
class RaceTecClient
12
{
13
    /**
14
     * @param int $cId
15
     * @param int $rId
16
     * @param int $eId
17
     *
18
     * @param int $page
19
     *
20
     * @return Parsers\EventPage
21
     */
22
    public static function results(int $cId, int $rId, int $eId, $page = 1)
23
    {
24
        return (new EventPage($cId, $rId, $eId, $page))->execute();
25
    }
26
}
27