| Total Complexity | 1 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php declare(strict_types=1); |
||
| 21 | final class SecurityRequirement implements SecurityRequirementInterface |
||
| 22 | { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @Required |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | public $name; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var array<string> |
||
| 33 | */ |
||
| 34 | public $scopes = []; |
||
| 35 | |||
| 36 | /** |
||
| 37 | * {@inheritDoc} |
||
| 38 | * |
||
| 39 | * @link https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.2.md#security-requirement-object-examples |
||
| 40 | */ |
||
| 41 | public function toArray() : array |
||
| 46 |