Skip to content

Commit

Permalink
changed variable to withoutEmpties
Browse files Browse the repository at this point in the history
  • Loading branch information
vladimir-xz committed Feb 27, 2024
1 parent 106e203 commit 59f82a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Formatters/Plain.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function format(array $comparedArray, array $tempForKeys = []): string
throw new \Exception("Unknown status of value: \"{$status}\"!");
}
}, $comparedArray);
$withoutEmpty = array_filter($differencies, fn ($array) => $array);
$result = implode("\n", $withoutEmpty);
$withoutEmpties = array_filter($differencies, fn ($array) => $array);
$result = implode("\n", $withoutEmpties);
return $result;
}

0 comments on commit 59f82a8

Please sign in to comment.