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.
Passed
Pull Request — master (#7)
by Fábio Tadeu da
02:35 queued 12s
created

OutboxSubClass   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 5
dl 0
loc 24
rs 10
c 0
b 0
f 0

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
    /**
17
     * @ORM\Column(type="string", name="field_1", nullable=true)
18
     *
19
     * @var string
20
     */
21
    private $field1;
22
23
    /**
24
     * @ORM\Column(type="string", name="field_2", nullable=true)
25
     *
26
     * @var string
27
     */
28
    private $field2;
29
30
    public function getField1() : string
31
    {
32
        return $this->field1;
33
    }
34
35
    public function getField2() : string
36
    {
37
        return $this->field2;
38
    }
39
}
40