Passed
Push — main ( ed1bb6...4383ba )
by Slawomir
04:39
created

TestApplicationInboundEvent::getName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 0
f 0
1
<?php
2
3
namespace App\Tests\Infrastructure\Events;
4
5
use App\Infrastructure\Events\ApplicationInboundEvent;
6
use Symfony\Component\Uid\Ulid;
7
8
class TestApplicationInboundEvent extends ApplicationInboundEvent
9
{
10
    public function string(string $fieldName, bool $nullable = false): ?string
11
    {
12
        return parent::string($fieldName, $nullable);
13
    }
14
15
    public function int(string $fieldName, bool $nullable = false): ?int
16
    {
17
        return parent::int($fieldName, $nullable); // TODO: Change the autogenerated stub
18
    }
19
20
    public function array(string $fieldName, bool $nullable = false): ?array
21
    {
22
        return parent::array($fieldName, $nullable); // TODO: Change the autogenerated stub
23
    }
24
25
    public function ulid(string $fieldName, bool $nullable = false): ?Ulid
26
    {
27
        return parent::ulid($fieldName, $nullable); // TODO: Change the autogenerated stub
28
    }
29
30
    public function dateTime(string $fieldName, bool $nullable = false): ?\DateTime
31
    {
32
        return parent::dateTime($fieldName, $nullable); // TODO: Change the autogenerated stub
33
    }
34
35
    public static function getName(): string
36
    {
37
        return "TEST_EVENT";
38
    }
39
}