+11
−26
+1
−1
Loading
No matter if alternateClassName is missing, is a string or an array, the result of parsing will always be an array - even if just one item or empty. Simplified the parsing - using array_of_strings method to do most of the work.