Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
33 | 2 | public static function fromBuffer(BufferInterface $buffer, EcAdapterInterface $ecAdapter = null): TransactionSignatureInterface |
|
34 | { |
||
35 | 2 | $serializer = new TransactionSignatureSerializer( |
|
36 | 2 | EcSerializer::getSerializer(DerSignatureSerializerInterface::class, true, $ecAdapter) |
|
37 | ); |
||
38 | |||
39 | 2 | return $serializer->parse($buffer); |
|
40 | } |
||
41 | } |
||
42 |