Total Complexity | 3 |
Total Lines | 49 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
21 | final class Example extends AbstractAnnotation implements ExampleInterface |
||
22 | { |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | * |
||
27 | * @link https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#user-content-examplesummary |
||
28 | */ |
||
29 | public $summary = ''; |
||
30 | |||
31 | /** |
||
32 | * @var string |
||
33 | * |
||
34 | * @link https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#user-content-exampledescription |
||
35 | */ |
||
36 | public $description = ''; |
||
37 | |||
38 | /** |
||
39 | * @var mixed |
||
40 | * |
||
41 | * @link https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#user-content-examplevalue |
||
42 | */ |
||
43 | public $value; |
||
44 | |||
45 | /** |
||
46 | * @var string |
||
47 | * |
||
48 | * @link https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#user-content-exampleexternalvalue |
||
49 | */ |
||
50 | public $externalValue; |
||
51 | |||
52 | /** |
||
53 | * {@inheritDoc} |
||
54 | */ |
||
55 | public function toArray() : array |
||
72 |