protected function compileSelector($selector) { if (!is_array($selector)) { return $selector; // media and the like } return implode(' ', array_map([$this, 'compileSelectorPart'], $selector)); }