From 4efdb2f0842096cfeccae5a13e255099a1de259e Mon Sep 17 00:00:00 2001 From: Jan Pecha Date: Sat, 30 Dec 2017 18:07:19 +0100 Subject: [PATCH] Fixed PhpDoc comments --- src/Statements/ForeignKeyDefinition.php | 8 ++++---- src/Statements/IndexColumnDefinition.php | 4 ++-- src/Statements/IndexDefinition.php | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Statements/ForeignKeyDefinition.php b/src/Statements/ForeignKeyDefinition.php index c7a9e23..c848e34 100644 --- a/src/Statements/ForeignKeyDefinition.php +++ b/src/Statements/ForeignKeyDefinition.php @@ -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; @@ -64,7 +64,7 @@ public function __construct($name, $columns = array(), $targetTable, $targetColu /** - * @param int + * @param string * @return self */ public function setOnUpdateAction($onUpdateAction) @@ -79,7 +79,7 @@ public function setOnUpdateAction($onUpdateAction) /** - * @param int + * @param string * @return self */ public function setOnDeleteAction($onDeleteAction) diff --git a/src/Statements/IndexColumnDefinition.php b/src/Statements/IndexColumnDefinition.php index e44a3ec..17274e6 100644 --- a/src/Statements/IndexColumnDefinition.php +++ b/src/Statements/IndexColumnDefinition.php @@ -16,7 +16,7 @@ class IndexColumnDefinition implements IStatement /** @var string|NULL */ private $name; - /** @var int */ + /** @var string */ private $order; /** @var int|NULL */ @@ -37,7 +37,7 @@ public function __construct($name, $order = self::ASC, $length = NULL) /** - * @param int + * @param string * @return self */ private function setOrder($order) diff --git a/src/Statements/IndexDefinition.php b/src/Statements/IndexDefinition.php index 7ca9cea..92aeaaf 100644 --- a/src/Statements/IndexDefinition.php +++ b/src/Statements/IndexDefinition.php @@ -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();