Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
28 | 56 | $length = UnsignedLongInteger::fromStream($stream)->original(); |
|
29 | |||
30 | 56 | return new self($stream->read($length->value())); |
|
1 ignored issue
–
show
|
|||
31 | } |
||
32 | |||
33 | 8 | public function original(): Str |
|
34 | { |
||
35 | 8 | return $this->original; |
|
36 | } |
||
37 | |||
38 | 64 | public function __toString(): string |
|
39 | { |
||
43 |