Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 0 |
1 | <?php |
||
39 | 288 | public static function makeFromPrimitives(bool $status = false, bool $closing = false, ?HtmlNode $node = null, ?string $tag = null): TagDTO |
|
40 | { |
||
41 | 288 | return new TagDTO([ |
|
42 | 288 | 'status' => $status, |
|
43 | 288 | 'closing' => $closing, |
|
44 | 288 | 'node' => $node, |
|
45 | 288 | 'tag' => $tag, |
|
46 | ]); |
||
75 |