From 930bd7de4bb4917caa5033fd0b3054f691484ef7 Mon Sep 17 00:00:00 2001 From: schrom01 Date: Tue, 14 Feb 2023 23:20:53 +0100 Subject: [PATCH] php functions to Store data --- spreadSheetReader/SimpleXLSXGen.php | 2 +- spreadSheetReader/read_write_xlsx.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spreadSheetReader/SimpleXLSXGen.php b/spreadSheetReader/SimpleXLSXGen.php index 459c158..110fd6f 100644 --- a/spreadSheetReader/SimpleXLSXGen.php +++ b/spreadSheetReader/SimpleXLSXGen.php @@ -4,7 +4,7 @@ /** @noinspection PhpIssetCanBeReplacedWithCoalesceInspection */ -namespace Shuchkin; + /** * Class SimpleXLSXGen diff --git a/spreadSheetReader/read_write_xlsx.php b/spreadSheetReader/read_write_xlsx.php index e1f540b..82f87cb 100644 --- a/spreadSheetReader/read_write_xlsx.php +++ b/spreadSheetReader/read_write_xlsx.php @@ -23,6 +23,6 @@ function write_xlsxFile($filename, $data) { } - $xlsx = \Shuchkin\SimpleXLSXGen::fromArray($data); + $xlsx = SimpleXLSXGen::fromArray($data); $xlsx->saveAs($filename); } \ No newline at end of file