Minimize JArrayHelper methods toInteger, pivot, arrayUnique by using Joomla\Utilities\ArrayHelper internally.
Leaving (reverting from #7782) other four methods as it was originally for b/c reasons as mentioned in #8455.
@izharaazmi sure it makes sense #8455 is a revert of #7782, we revert the full PR but there where some good changes in it (#7782) and we should merge them.
@rdeutz But In the changes (diff) I see it is not comparing to latest staging branch content, i.e. after the revert I though diff should show up new differences. Am I missing something?
tested @icampus pizza, bugs & fun.
used the functions toInteger(), pivot() and arrayUnique() from JArrayHelper without patch and with patch and compared the outputs. Outputs were identically.
@rdeutz I am not sure if this PR makes any sense after the merge of #8455. Please advise. Do I need to PR afresh for
toInteger
,pivot
andarrayUnique
?