mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-22 14:23:47 +00:00
Upgrade to PHP-CS-Fixer 2.7
This commit is contained in:
@@ -33,6 +33,7 @@ foreach ($inputFileNames as $inputFileName) {
|
||||
|
||||
if (!file_exists($inputFileName)) {
|
||||
$helper->log('File ' . $inputFileNameShort . ' does not exist');
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -54,7 +55,7 @@ foreach ($inputFileNames as $inputFileName) {
|
||||
natsort($chartNames);
|
||||
foreach ($chartNames as $i => $chartName) {
|
||||
$chart = $worksheet->getChartByName($chartName);
|
||||
if (!is_null($chart->getTitle())) {
|
||||
if ($chart->getTitle() !== null) {
|
||||
$caption = '"' . implode(' ', $chart->getTitle()->getCaption()) . '"';
|
||||
} else {
|
||||
$caption = 'Untitled';
|
||||
|
||||
Reference in New Issue
Block a user