Release 2.56 (#5909)
This commit is contained in:
@@ -17,11 +17,11 @@ final class Constants
|
||||
/**
|
||||
* The current release version
|
||||
*/
|
||||
public const VERSION = '2.55.0';
|
||||
public const VERSION = '2.56.0';
|
||||
/**
|
||||
* The current release: major * 10000 + minor * 100 + patch
|
||||
*/
|
||||
public const VERSION_ID = 25500;
|
||||
public const VERSION_ID = 25600;
|
||||
/**
|
||||
* The software name
|
||||
*/
|
||||
|
||||
@@ -36,7 +36,6 @@ class SpoutSpreadsheet implements SpreadsheetPackage
|
||||
private readonly ?string $locale = null,
|
||||
)
|
||||
{
|
||||
$this->writer->setCreator(Constants::SOFTWARE);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -138,6 +137,10 @@ class SpoutSpreadsheet implements SpreadsheetPackage
|
||||
|
||||
public function save(): void
|
||||
{
|
||||
if ($this->writer instanceof XLSXWriter) {
|
||||
$this->writer->setCreator(Constants::SOFTWARE);
|
||||
}
|
||||
|
||||
$this->writer->close();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user