Contact   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 0%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 23
c 0
b 0
f 0
ccs 0
cts 3
cp 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A getRequiredParameters() 0 3 1
1
<?php declare(strict_types=1);
2
3
namespace FatCode\OpenApi\Annotation\Info;
4
5
use FatCode\Annotation\Target;
6
7
/**
8
 * @Annotation
9
 * @Target(Target::TARGET_ANNOTATION)
10
 */
11
class Contact
12
{
13
    /**
14
     * The identifying name of the contact person/organization.
15
     * @var string
16
     */
17
    public $name;
18
19
    /**
20
     * The URL pointing to the contact information. MUST be in the format of a URL.
21
     * @var string
22
     */
23
    public $url;
24
25
    /**
26
     * The email address of the contact person/organization. MUST be in the format of an email address.
27
     * @var string
28
     */
29
    public $email;
30
31
    protected function getRequiredParameters(): array
32
    {
33
        return [];
34
    }
35
}
36