Replace == with ===

This commit is contained in:
Adrien Loison committed 2015-08-10 19:13:40 -07:00
1 parent 380ee524a5
commit 2183ff6738
3 files changed
+7 -7

No files matched your search

+1 -1
View File
@@ -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);