Commit 52237874 authored by Adrien Crivelli's avatar Adrien Crivelli

Fix code style as mentionned in PR comments

parent e26b0444
...@@ -175,9 +175,7 @@ class PostgreSqlPlatform extends AbstractPlatform ...@@ -175,9 +175,7 @@ class PostgreSqlPlatform extends AbstractPlatform
} }
/** /**
* Whether the platform supports partial indexes. * {@inheritdoc}
*
* @return boolean
*/ */
public function supportsPartialIndexes() public function supportsPartialIndexes()
{ {
......
...@@ -464,9 +464,7 @@ class SqlitePlatform extends AbstractPlatform ...@@ -464,9 +464,7 @@ class SqlitePlatform extends AbstractPlatform
} }
/** /**
* Whether the platform supports partial indexes. * {@inheritdoc}
*
* @return boolean
*/ */
public function supportsPartialIndexes() public function supportsPartialIndexes()
{ {
......
...@@ -54,7 +54,7 @@ class Index extends AbstractAsset implements Constraint ...@@ -54,7 +54,7 @@ class Index extends AbstractAsset implements Constraint
* *
* @var string|null * @var string|null
*/ */
protected $_where = null; protected $where = null;
/** /**
* @param string $indexName * @param string $indexName
...@@ -71,7 +71,7 @@ class Index extends AbstractAsset implements Constraint ...@@ -71,7 +71,7 @@ class Index extends AbstractAsset implements Constraint
$this->_setName($indexName); $this->_setName($indexName);
$this->_isUnique = $isUnique; $this->_isUnique = $isUnique;
$this->_isPrimary = $isPrimary; $this->_isPrimary = $isPrimary;
$this->_where = $where; $this->where = $where;
foreach ($columns as $column) { foreach ($columns as $column) {
$this->_addColumn($column); $this->_addColumn($column);
...@@ -306,6 +306,6 @@ class Index extends AbstractAsset implements Constraint ...@@ -306,6 +306,6 @@ class Index extends AbstractAsset implements Constraint
*/ */
public function getWhere() public function getWhere()
{ {
return $this->_where; return $this->where;
} }
} }
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