Showing 1 of 1 total issue
Method genDiff
has 30 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public static function genDiff(array $beforeData, array $afterData): array
{
$keys = array_unique(array_merge(array_keys($beforeData), array_keys($afterData)));
return array_reduce($keys, static function ($acc, $key) use ($beforeData, $afterData): array {