EmptyRequest::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: siim
5
 * Date: 14.02.19
6
 * Time: 7:54
7
 */
8
9
namespace Sf4\Api\Request;
10
11
use Sf4\Api\Response\EmptyResponse;
12
13
class EmptyRequest extends AbstractRequest
14
{
15
    /**
16
     * EmptyRequest constructor.
17
     */
18
    public function __construct()
19
    {
20
        $this->init(
21
            new EmptyResponse()
22
        );
23
    }
24
25
    /**
26
     * @return array
27
     */
28
    protected function getCacheTags(): array
29
    {
30
        return [];
31
    }
32
}
33