| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class GenericExtensionInput extends AbstractExtensionInput implements RegistrationExtensionInputInterface, AuthenticationExtensionInputInterface |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * GenericExtensionInput constructor. |
||
| 13 | * |
||
| 14 | * @param mixed $input |
||
| 15 | * |
||
| 16 | * @throws \MadWizard\WebAuthn\Exception\WebAuthnException |
||
| 17 | */ |
||
| 18 | 1 | public function __construct(string $identifier, $input = null) |
|
| 19 | { |
||
| 20 | 1 | parent::__construct($identifier); |
|
| 21 | 1 | $this->input = $input; |
|
| 22 | 1 | } |
|
| 23 | |||
| 24 | /** |
||
| 25 | * @param mixed $input |
||
| 26 | */ |
||
| 27 | 1 | public function setInput($input): void |
|
| 30 | 1 | } |
|
| 31 | } |
||
| 32 |