ExtensibleSet: do not render empty arrays
This commit is contained in:
parent
62c1aec917
commit
dcd2823a73
|
@ -120,6 +120,10 @@ class ExtensibleSet
|
|||
}
|
||||
|
||||
foreach ($byBehaviour as $method => &$values) {
|
||||
if (empty($values)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
sort($values);
|
||||
$this->$method($values);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue