cast $tabs['class'] as array
Merge pull request #3973 from helgatheviking/fix/invalid-args-for-implode

cast $tabs['class'] as array