The warning is harmless but it was indeed confusing to call "parent" both a local variable and a function parameter, so don't do it.
The warning is harmless but it was indeed confusing to call "parent" both a local variable and a function parameter, so don't do it.