Total Complexity | 5 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
25 | class ViewDiffService |
||
26 | { |
||
27 | /** @return array<string, array{unixsum: string}> */ |
||
28 | public static function getViewFileHashIndex(): array |
||
39 | } |
||
40 | |||
41 | /** @return array<string> */ |
||
42 | public static function getChecksums(): array |
||
43 | { |
||
44 | $checksums = []; |
||
45 | |||
46 | foreach (static::getViewFileHashIndex() as $file) { |
||
47 | $checksums[] = $file['unixsum']; |
||
48 | } |
||
49 | |||
50 | return $checksums; |
||
51 | } |
||
52 | |||
53 | public static function checksumMatchesAny(string $checksum): bool |
||
56 | } |
||
57 | } |
||
58 |