Commit c285b75b authored by Guilherme Blanco's avatar Guilherme Blanco

phpcs

parent 560c4b6e
...@@ -72,8 +72,6 @@ class Index extends AbstractAsset implements Constraint ...@@ -72,8 +72,6 @@ class Index extends AbstractAsset implements Constraint
} }
/** /**
* @return void
*
* @throws InvalidArgumentException * @throws InvalidArgumentException
*/ */
protected function _addColumn(string $column) : void protected function _addColumn(string $column) : void
......
...@@ -36,7 +36,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint ...@@ -36,7 +36,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint
private $options = []; private $options = [];
/** /**
* @param string $name
* @param string[] $columns * @param string[] $columns
* @param string[] $flags * @param string[] $flags
* @param mixed[] $options * @param mixed[] $options
...@@ -99,10 +98,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint ...@@ -99,10 +98,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint
/** /**
* Adds flag for a unique constraint that translates to platform specific handling. * Adds flag for a unique constraint that translates to platform specific handling.
* *
* @param string $flag
*
* @return self
*
* @example $uniqueConstraint->addFlag('CLUSTERED') * @example $uniqueConstraint->addFlag('CLUSTERED')
*/ */
public function addFlag(string $flag) : UniqueConstraint public function addFlag(string $flag) : UniqueConstraint
...@@ -114,10 +109,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint ...@@ -114,10 +109,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint
/** /**
* Does this unique constraint have a specific flag? * Does this unique constraint have a specific flag?
*
* @param string $flag
*
* @return bool
*/ */
public function hasFlag(string $flag) : bool public function hasFlag(string $flag) : bool
{ {
...@@ -126,10 +117,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint ...@@ -126,10 +117,6 @@ class UniqueConstraint extends AbstractAsset implements Constraint
/** /**
* Removes a flag. * Removes a flag.
*
* @param string $flag
*
* @return void
*/ */
public function removeFlag(string $flag) : void public function removeFlag(string $flag) : void
{ {
...@@ -137,9 +124,7 @@ class UniqueConstraint extends AbstractAsset implements Constraint ...@@ -137,9 +124,7 @@ class UniqueConstraint extends AbstractAsset implements Constraint
} }
/** /**
* @param string $name * Does this unique constraint have a specific option?
*
* @return bool
*/ */
public function hasOption(string $name) : bool public function hasOption(string $name) : bool
{ {
...@@ -163,7 +148,7 @@ class UniqueConstraint extends AbstractAsset implements Constraint ...@@ -163,7 +148,7 @@ class UniqueConstraint extends AbstractAsset implements Constraint
} }
/** /**
* @return void * Adds a new column to the unique constraint.
*/ */
protected function addColumn(string $column) : void protected function addColumn(string $column) : void
{ {
......
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