Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Tests | 9 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | public static function fromOrientatedItem(OrientatedItem $orientatedItem, int $x, int $y, int $z): self |
||
35 | 98 | { |
|
36 | 98 | return new self( |
|
37 | 98 | $orientatedItem->item, |
|
38 | 98 | $x, |
|
39 | 98 | $y, |
|
40 | 98 | $z, |
|
41 | 98 | $orientatedItem->width, |
|
42 | 98 | $orientatedItem->length, |
|
43 | 98 | $orientatedItem->depth, |
|
44 | ); |
||
78 |