@@ -66,8 +66,9 @@ |
||
66 | 66 | |
67 | 67 | protected function setDivider($divider, $index) { |
68 | 68 | if (isset($index)) { |
69 | - if (! \is_array($this->_contentSeparator)) |
|
70 | - $this->_contentSeparator = array_fill(0, $this->count() - 1, $this->_contentSeparator); |
|
69 | + if (! \is_array($this->_contentSeparator)) { |
|
70 | + $this->_contentSeparator = array_fill(0, $this->count() - 1, $this->_contentSeparator); |
|
71 | + } |
|
71 | 72 | $this->_contentSeparator[$index] = $divider; |
72 | 73 | } else { |
73 | 74 | $this->_contentSeparator = $divider; |