WebDAV::loadAnswer()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
ccs 2
cts 2
cp 1
crap 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