Open TonisOrmisson opened 5 months ago
Declaration of kartik\export\ExportWriterPdf::createExternalWriterInstance($config = []) must be compatible with PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf::createExternalWriterInstance(array $config): Mpdf\Mpdf
this module: https://github.com/kartik-v/yii2-export/blob/5c033d407631f8f4aa1f47e4a53e0204d45bb29c/src/ExportWriterPdf.php#L35
parent class: https://github.com/PHPOffice/PhpSpreadsheet/blob/0c37ae2c30599819d7fab7d13ab5027ffd71f61a/src/PhpSpreadsheet/Writer/Pdf/Mpdf.php#L22 expects (array $config) as params...
(array $config)
Ya, the problem is happened to me also, For now, Do you have any solution mate ?
Steps to reproduce the issue
Declaration of kartik\export\ExportWriterPdf::createExternalWriterInstance($config = []) must be compatible with PhpOffice\PhpSpreadsheet\Writer\Pdf\Mpdf::createExternalWriterInstance(array $config): Mpdf\Mpdf
Isolating the problem
this module: https://github.com/kartik-v/yii2-export/blob/5c033d407631f8f4aa1f47e4a53e0204d45bb29c/src/ExportWriterPdf.php#L35
parent class: https://github.com/PHPOffice/PhpSpreadsheet/blob/0c37ae2c30599819d7fab7d13ab5027ffd71f61a/src/PhpSpreadsheet/Writer/Pdf/Mpdf.php#L22 expects
(array $config)
as params...