Merge branch 'master' into Column-Autofit-Indentation
This commit is contained in:
commit
4a4078f38f
|
|
@ -4197,7 +4197,7 @@ parameters:
|
|||
|
||||
-
|
||||
message: "#^Strict comparison using \\=\\=\\= between string and null will always evaluate to false\\.$#"
|
||||
count: 1
|
||||
count: 2
|
||||
path: src/PhpSpreadsheet/Worksheet/Worksheet.php
|
||||
|
||||
-
|
||||
|
|
|
|||
|
|
@ -3014,6 +3014,10 @@ class Worksheet implements IComparable
|
|||
*/
|
||||
public static function extractSheetTitle(string $range, $returnRange = false)
|
||||
{
|
||||
if ($range === null) {
|
||||
return $returnRange ? [null, null] : null;
|
||||
}
|
||||
|
||||
// Sheet title included?
|
||||
if (($sep = strrpos($range, '!')) === false) {
|
||||
return $returnRange ? ['', $range] : '';
|
||||
|
|
|
|||
Loading…
Reference in New Issue