Skip to content

Commit

Permalink
Fixed PhpDoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
janpecha committed Dec 30, 2017
1 parent baea05e commit 4efdb2f
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/Statements/ForeignKeyDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ class ForeignKeyDefinition implements IStatement
/** @var string */
private $targetColumns;

/** @var int */
/** @var string */
private $onUpdateAction = self::ACTION_RESTRICT;

/** @var int */
/** @var string */
private $onDeleteAction = self::ACTION_RESTRICT;


Expand Down Expand Up @@ -64,7 +64,7 @@ public function __construct($name, $columns = array(), $targetTable, $targetColu


/**
* @param int
* @param string
* @return self
*/
public function setOnUpdateAction($onUpdateAction)
Expand All @@ -79,7 +79,7 @@ public function setOnUpdateAction($onUpdateAction)


/**
* @param int
* @param string
* @return self
*/
public function setOnDeleteAction($onDeleteAction)
Expand Down
4 changes: 2 additions & 2 deletions src/Statements/IndexColumnDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class IndexColumnDefinition implements IStatement
/** @var string|NULL */
private $name;

/** @var int */
/** @var string */
private $order;

/** @var int|NULL */
Expand All @@ -37,7 +37,7 @@ public function __construct($name, $order = self::ASC, $length = NULL)


/**
* @param int
* @param string
* @return self
*/
private function setOrder($order)
Expand Down
4 changes: 2 additions & 2 deletions src/Statements/IndexDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ class IndexDefinition implements IStatement
/** @var string|NULL */
private $name;

/** @var int */
/** @var string */
private $type;

/** @var string[] */
/** @var IndexColumnDefinition[] */
private $columns = array();


Expand Down

0 comments on commit 4efdb2f

Please sign in to comment.