src/Builder.php
Method createNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function createNode(string $key, string $type, $oldValue, $newValue, $children = null): array
Avoid too many return
statements within this method. Open
Open
return createNode($key, "unchanged", $firstData->$key, $secondData->$key);
Avoid too many return
statements within this method. Open
Open
return $differences;