From 85030b6bc538f13834ec5f6c2f3c3ba8848ea6ae Mon Sep 17 00:00:00 2001 From: bshain-vtinfo <53826488+bshain-vtinfo@users.noreply.github.com> Date: Mon, 11 Mar 2024 13:39:04 -0400 Subject: [PATCH] 8843 + correct code styling to adhere to project standards --- src/PhpSpreadsheet/Cell/Coordinate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PhpSpreadsheet/Cell/Coordinate.php b/src/PhpSpreadsheet/Cell/Coordinate.php index d8269adbe6..88d931126c 100644 --- a/src/PhpSpreadsheet/Cell/Coordinate.php +++ b/src/PhpSpreadsheet/Cell/Coordinate.php @@ -149,7 +149,7 @@ public static function splitRange(string $range): array $range = self::DEFAULT_RANGE; } - if (strpos(trim($range), ' ') !== false) { + if (str_contains(trim($range), ' ')) { $delimiter = ' '; } else { $delimiter = ',';