GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Data   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 28
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 9
c 1
b 0
f 0
dl 0
loc 28
rs 10
wmc 4

4 Methods

Rating   Name   Duplication   Size   Complexity  
A setLabels() 0 5 1
A getData() 0 3 1
A setData() 0 5 1
A getLabels() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Odiseo\SyliusReportPlugin\DataFetcher;
6
7
/**
8
 * @author Łukasz Chruściel <[email protected]>
9
 * @author Rimas Kudelis <[email protected]>
10
 */
11
class Data
12
{
13
    private iterable $labels = [];
14
15
    private iterable $data = [];
16
17
    public function getLabels(): iterable
18
    {
19
        return $this->labels;
20
    }
21
22
    public function setLabels(iterable $labels): self
23
    {
24
        $this->labels = $labels;
25
26
        return $this;
27
    }
28
29
    public function getData(): iterable
30
    {
31
        return $this->data;
32
    }
33
34
    public function setData(iterable $data): self
35
    {
36
        $this->data = $data;
37
38
        return $this;
39
    }
40
}
41