EmptyRequest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 18
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getCacheTags() 0 3 1
A __construct() 0 4 1
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