Skip to content

Commit d9bd45f

Browse files
committed
Fix unit tests
1 parent 80e4670 commit d9bd45f

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/PhpSpreadsheet/Style/Style.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ class Style extends Supervisor
8282
*/
8383
public function __construct($isSupervisor = false, $isConditional = false)
8484
{
85-
parent::__construct($this->isSupervisor);
85+
parent::__construct($isSupervisor);
8686

8787
// Initialise values
8888
$this->conditionalStyles = [];

src/PhpSpreadsheet/Style/Supervisor.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
namespace PhpOffice\PhpSpreadsheet\Style;
44

55
use PhpOffice\PhpSpreadsheet\IComparable;
6+
use PhpOffice\PhpSpreadsheet\Worksheet\Worksheet;
67

78
abstract class Supervisor implements IComparable
89
{

0 commit comments

Comments
 (0)