Skip to content

Commit 2467d9f

Browse files
HackwarLlewellynvdm
authored andcommitted
Properly defining variable
1 parent f8f6a68 commit 2467d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Command/ExportCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ protected function doExecute(InputInterface $input, OutputInterface $output): in
148148

149149
if ($zip)
150150
{
151-
$zipFilesArray[] = ['name' => $table . '.xml', 'data' => $data];
151+
$zipFilesArray = [['name' => $table . '.xml', 'data' => $data]];
152152
$zipArchive->create($zipFile, $zipFilesArray);
153153
File::delete($filename);
154154
}

0 commit comments

Comments
 (0)