Test Failed
Push — master ( 9eb68a...5271f3 )
by Thomas
02:48
created

GenericExtensionInput::setInput()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
c 0
b 0
f 0
nc 1
nop 1
dl 0
loc 3
rs 10
1
<?php
2
3
namespace MadWizard\WebAuthn\Extension\Generic;
4
5
use MadWizard\WebAuthn\Extension\AbstractExtensionInput;
6
7
class GenericExtensionInput extends AbstractExtensionInput
8
{
9
    public function __construct(string $identifier, $input = null)
10
    {
11
        parent::__construct($identifier);
12
        $this->input = $input;
13
    }
14
15
    /**
16
     * @param mixed $input
17
     */
18
    public function setInput($input): void
19
    {
20
        $this->input = $input;
21
    }
22
}
23