We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f624aeb commit e22d9f2Copy full SHA for e22d9f2
src/BaselineSplitter.php
@@ -62,7 +62,7 @@ public function split(string $loaderFilePath): array
62
foreach ($groupedErrors as $identifier => $errors) {
63
$fileName = $identifier . '.' . $extension;
64
$filePath = $folder . '/' . $fileName;
65
- $errorsCount = array_reduce($errors, static fn(int $carry, array $item): int => $carry + (int)$item['count'], 0);
+ $errorsCount = array_reduce($errors, static fn(int $carry, array $item): int => $carry + (int) $item['count'], 0);
66
67
$outputInfo[$filePath] = $errorsCount;
68
$baselineFiles[] = $fileName;
0 commit comments