We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81fa2ce commit ce4c6d0Copy full SHA for ce4c6d0
lib/Sabberworm/CSS/Value/ValueList.php
@@ -8,9 +8,7 @@ abstract class ValueList extends Value {
8
protected $sSeparator;
9
10
public function __construct($aComponents = array(), $sSeparator = ',') {
11
- if ($aComponents instanceof ValueList && $aComponents->getListSeparator() === $sSeparator) {
12
- $aComponents = $aComponents->getListComponents();
13
- } else if (!is_array($aComponents)) {
+ if (!is_array($aComponents)) {
14
$aComponents = array($aComponents);
15
}
16
$this->aComponents = $aComponents;
0 commit comments