diff --git a/src/Diff/FilterUtil.php b/src/Diff/FilterUtil.php index 019371e..72497c3 100644 --- a/src/Diff/FilterUtil.php +++ b/src/Diff/FilterUtil.php @@ -29,9 +29,8 @@ abstract class FilterUtil */ public static function sanitize(array $filter): array { - return array_filter($filter, fn($e) => in_array($e, ['A', 'C', 'D', 'M', 'R', 'T', 'U', 'X', 'B', '*']) ); + return array_filter($filter, function ($e) { + return in_array($e, ['A', 'C', 'D', 'M', 'R', 'T', 'U', 'X', 'B', '*']); + }); } } - - -