Commit 6942a202 authored by Steve Müller's avatar Steve Müller

use strict comparison in Index::spansColumns

parent b1c49ced
......@@ -162,7 +162,7 @@ class Index extends AbstractAsset implements Constraint
$numberOfColumns = count($columns);
$sameColumns = true;
for ($i = 0; $i < $numberOfColumns; $i++) {
if (!isset($columnNames[$i]) || $this->trimQuotes(strtolower($columns[$i])) != $this->trimQuotes(strtolower($columnNames[$i]))) {
if (!isset($columnNames[$i]) || $this->trimQuotes(strtolower($columns[$i])) !== $this->trimQuotes(strtolower($columnNames[$i]))) {
$sameColumns = false;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment