Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 0 |
1 | <?php |
||
9 | class NFLHttpClient extends AbstractHttpClient |
||
10 | { |
||
11 | /** |
||
12 | * {@inheritdoc} |
||
13 | */ |
||
14 | protected $url = 'https://feeds.nfl.com/feeds-rs/scores.json'; |
||
15 | |||
16 | /** |
||
17 | * Gets and data from a remote source. |
||
18 | * |
||
19 | * @param string $url |
||
20 | * |
||
21 | * @throws \ErrorException |
||
22 | * |
||
23 | * @return string |
||
24 | */ |
||
25 | public function get(): string |
||
30 |