src/PHPHtmlParser/Selector/Selector.php
protected function flattenOptions(array $optionsArray)
    {
        $options = [];
        foreach ($optionsArray as $optionArray) {
            foreach ($optionArray as $key => $option) {
                $options[$key] = $option;
            }
        }

        return $options;
    }
protected function flattenOptions(array $optionsArray)
    {
        $options = [];
        foreach ($optionsArray as $optionArray) {
            foreach ($optionArray as $key => $option) {
                $options[$key] = $option;
            }
        }

        return $options;
    }
protected function flattenOptions ( array $ optionsArray ) { $ options = [ ] ; foreach ( $ optionsArray as $ optionArray ) { foreach ( $ optionArray as $ key => $ option ) { $ options [ $ key ] = $ option ; } } return $ options ; }
Flattens the option array.

@param array $optionsArray
@return array
Flattens the option array .