Commit 5aa35aa5 authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DDC-1603' into 2.2

parents ac36de57 5b3f5abc
...@@ -167,7 +167,7 @@ class Table extends AbstractAsset ...@@ -167,7 +167,7 @@ class Table extends AbstractAsset
*/ */
public function addUniqueIndex(array $columnNames, $indexName = null) public function addUniqueIndex(array $columnNames, $indexName = null)
{ {
if ($indexName == null) { if ($indexName === null) {
$indexName = $this->_generateIdentifierName( $indexName = $this->_generateIdentifierName(
array_merge(array($this->getName()), $columnNames), "uniq", $this->_getMaxIdentifierLength() array_merge(array($this->getName()), $columnNames), "uniq", $this->_getMaxIdentifierLength()
); );
......
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