GH-57 Bug fix in Border.php
This commit is contained in:
parent
5d3fdf4f78
commit
03f96ab6d8
|
@ -140,7 +140,7 @@ class Border extends Supervisor implements \PhpOffice\PhpSpreadsheet\IComparable
|
||||||
public function getStyleArray($array)
|
public function getStyleArray($array)
|
||||||
{
|
{
|
||||||
switch ($this->parentPropertyName) {
|
switch ($this->parentPropertyName) {
|
||||||
case 'allBorders':
|
case 'allborders':
|
||||||
case 'bottom':
|
case 'bottom':
|
||||||
case 'diagonal':
|
case 'diagonal':
|
||||||
case 'horizontal':
|
case 'horizontal':
|
||||||
|
@ -150,7 +150,7 @@ class Border extends Supervisor implements \PhpOffice\PhpSpreadsheet\IComparable
|
||||||
case 'right':
|
case 'right':
|
||||||
case 'top':
|
case 'top':
|
||||||
case 'vertical':
|
case 'vertical':
|
||||||
$key = strtolower('vertical');
|
$key = strtolower($this->parentPropertyName);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue