Replace == with ===
This commit is contained in:
1 parent
380ee524a5
commit
2183ff6738
3 files changed
+7
-7
No files matched your search
@@ -71,7 +71,7 @@ class CellHelper
|
||||
{
|
||||
$currentColumnIndex = ord($single_cell_index) - $capitalAAsciiValue;
|
||||
|
||||
if ($columnLength == 1) {
|
||||
if ($columnLength === 1) {
|
||||
$columnIndex += $currentColumnIndex;
|
||||
} else {
|
||||
$columnIndex += pow($step, ($columnLength - 1)) * ($currentColumnIndex + 1);
|
||||
|
||||
Reference in new issue
Block a user