UrlProvider   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A getBaseUrl() 0 3 1
1
<?php
2
/**
3
 * File: UrlProvider.php
4
 *
5
 * @author      Maciej Sławik <[email protected]>
6
 * Github:      https://github.com/maciejslawik
7
 */
8
9
namespace MSlwk\Otomoto\App\Base;
10
11
/**
12
 * Class UrlProvider
13
 * @package MSlwk\Otomoto\App\Base
14
 */
15
class UrlProvider implements UrlPoviderInterface
16
{
17
    const OTOMOTO_URL = 'https://www.otomoto.pl';
18
19
    /**
20
     * @return string
21
     */
22 1
    public function getBaseUrl(): string
23
    {
24 1
        return self::OTOMOTO_URL;
25
    }
26
}
27