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.
Test Failed
Push — master ( 99496c...f0f55b )
by Giacomo
12:21 queued 12s
created

OutboxSubClass   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 5
c 1
b 0
f 0
dl 0
loc 16
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getField2() 0 3 1
A getField1() 0 3 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Dsantang\DomainEventsDoctrine\Tests;
6
7
use Doctrine\ORM\Mapping as ORM;
8
use Dsantang\DomainEventsDoctrine\Outbox\OutboxMappedSuperclass;
9
10
/**
11
 * @ORM\Entity()
12
 * @ORM\Table
13
 */
14
class OutboxSubClass extends OutboxMappedSuperclass
15
{
16
    /** @ORM\Column(type="string", name="field_1", nullable=true) */
17
    private string $field1;
18
19
    /** @ORM\Column(type="string", name="field_2", nullable=true) */
20
    private string $field2;
21
22
    public function getField1(): string
23
    {
24
        return $this->field1;
25
    }
26
27
    public function getField2(): string
28
    {
29
        return $this->field2;
30
    }
31
}
32