From 8fc9d092f2b405367f21cec44a13d21a9859b3d0 Mon Sep 17 00:00:00 2001 From: aVadim Date: Sun, 8 Sep 2024 00:24:12 +0300 Subject: [PATCH] fix after MR --- src/FastExcelWriter/Excel.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/FastExcelWriter/Excel.php b/src/FastExcelWriter/Excel.php index 4d12c0b..a2637e8 100644 --- a/src/FastExcelWriter/Excel.php +++ b/src/FastExcelWriter/Excel.php @@ -1670,7 +1670,7 @@ public function getStyleFonts(): array public function getStyleFills(): array { - return $this->style->getStyleFonts(); + return $this->style->getStyleFills(); } public function getStyleBorders(): array @@ -1688,16 +1688,17 @@ public function getStyleIndexedColors(): array return $this->style->getIndexedColors(); } - public function addStyle($cellStyle, &$resultStyle): array - { - return $this->style->addStyle($cellStyle, $resultStyle); - } public function getStyleNumberFormats(): array { return $this->style->_getNumberFormats(); } + public function addStyle($cellStyle, &$resultStyle): int + { + return $this->style->addStyle($cellStyle, $resultStyle); + } + } // EOF