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

TestApplicationInboundEvent   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 8
dl 0
loc 30
rs 10
c 2
b 0
f 0
wmc 6

6 Methods

Rating   Name   Duplication   Size   Complexity  
A int() 0 3 1
A ulid() 0 3 1
A array() 0 3 1
A getName() 0 3 1
A dateTime() 0 3 1
A string() 0 3 1
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
}