Skip to content

Commit

Permalink
make column name based on constant with strtolower
Browse files Browse the repository at this point in the history
Signed-off-by: Abdul Malik Ikhsan <samsonasik@gmail.com>
  • Loading branch information
samsonasik committed Aug 8, 2020
1 parent e76a51f commit 389ebf0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/DbSelect.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ public function count()

$this->rowCount = isset($row[self::ROW_COUNT_COLUMN_NAME])
? (int) $row[self::ROW_COUNT_COLUMN_NAME]
: (int) strtolower(self::ROW_COUNT_COLUMN_NAME);
: (int) $row[strtolower(self::ROW_COUNT_COLUMN_NAME)];

return $this->rowCount;
}
Expand Down

0 comments on commit 389ebf0

Please sign in to comment.