WebDAV   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

2 Methods

Rating   Name   Duplication   Size   Complexity  
A loadQuery() 0 3 1
A loadAnswer() 0 3 1
1
<?php
2
3
namespace kalanis\RemoteRequest\Protocols;
4
5
6
use kalanis\RemoteRequest;
7
8
9
/**
10
 * Class WebDAV
11
 * @package kalanis\RemoteRequest\Protocols
12
 * Properties for query to remote server - WebDAV server
13
 * @link https://www.interval.cz/clanky/zaklinadlo-jmenem-webdav/
14
 * @link https://www.interval.cz/clanky/neco-malo-o-http-3/
15
 * @link https://www.interval.cz/clanky/openlitespeed-webserver-jako-http-3-proxy/
16
 */
17
class WebDAV extends Http
18
{
19 2
    protected function loadQuery(): RemoteRequest\Protocols\Dummy\Query
20
    {
21 2
        return new WebDAV\Query();
22
    }
23
24 2
    protected function loadAnswer(): RemoteRequest\Protocols\Dummy\Answer
25
    {
26 2
        return new WebDAV\Answer($this->rrLang);
27
    }
28
}
29