Total Complexity | 2 |
Total Lines | 33 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
19 | class ExternalDocumentation extends AbstractObject |
||
20 | { |
||
21 | |||
22 | /** |
||
23 | * @var string |
||
24 | * |
||
25 | * @link https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#user-content-externaldocurl |
||
26 | */ |
||
27 | protected $url; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | * |
||
32 | * @link https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#user-content-externaldocdescription |
||
33 | */ |
||
34 | protected $description; |
||
35 | |||
36 | /** |
||
37 | * @param string $url |
||
38 | */ |
||
39 | 4 | public function __construct(string $url) |
|
42 | 4 | } |
|
43 | |||
44 | /** |
||
45 | * @param string $description |
||
46 | * |
||
47 | * @return void |
||
48 | */ |
||
49 | 1 | public function setDescription(string $description) : void |
|
54 |