| Total Complexity | 4 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | final class IntMatrix extends AbstractTypedArray |
||
| 11 | { |
||
| 12 | |||
| 13 | public static function fromArrayMatrix($input = []) |
||
| 14 | { |
||
| 15 | return new self(array_map(static fn ($row) => new ImmutableIntegerList($row), $input)); |
||
| 16 | } |
||
| 17 | |||
| 18 | protected function typeToEnforce(): string |
||
| 21 | } |
||
| 22 | |||
| 23 | protected function isMutable(): bool |
||
| 24 | { |
||
| 25 | return false; |
||
| 26 | } |
||
| 27 | |||
| 28 | protected function collectionType(): string |
||
| 31 | } |
||
| 32 | } |
||
| 48 |