Showing 2 of 2 total issues
Method makeNode
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
function makeNode($type, $key, $before, $after, $children = null)
Avoid too many return
statements within this method. Open
Open
return [getSpace($level) . "+ $key: $after"];