cast $tabs['class'] as array