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)
|
||||
{
|
||||
switch ($this->parentPropertyName) {
|
||||
case 'allBorders':
|
||||
case 'allborders':
|
||||
case 'bottom':
|
||||
case 'diagonal':
|
||||
case 'horizontal':
|
||||
|
@ -150,7 +150,7 @@ class Border extends Supervisor implements \PhpOffice\PhpSpreadsheet\IComparable
|
|||
case 'right':
|
||||
case 'top':
|
||||
case 'vertical':
|
||||
$key = strtolower('vertical');
|
||||
$key = strtolower($this->parentPropertyName);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue