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::setLabels()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

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