[Debug] Removed array_merge from getClassCandidates()

Since array_merge in this scenario is only appending, removing it and passing
an array reference `&$classes` is the better alternative .