Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
33 | 2 | public static function fromBuffer(BufferInterface $buffer, EcAdapterInterface $ecAdapter = null): SignatureInterface |
|
34 | { |
||
35 | /** @var DerSignatureSerializerInterface $serializer */ |
||
36 | 2 | $serializer = EcSerializer::getSerializer(DerSignatureSerializerInterface::class, true, $ecAdapter); |
|
37 | 2 | return $serializer->parse($buffer); |
|
38 | } |
||
39 | } |
||
40 |