MaxSmakov/project-lvl2-s189

View on GitHub
src/generateDiff.php

Summary

Maintainability
A
1 hr
Test Coverage

Method arrDiff has 40 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function arrDiff($array1, $array2)
{
    $union = Collection\union(array_keys($array1), array_keys($array2));

    return array_reduce($union, function ($acc, $key) use ($array1, $array2) {
Severity: Minor
Found in src/generateDiff.php - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status