summaryrefslogtreecommitdiffstats
path: root/src/Components
diff options
context:
space:
mode:
authorMichal Čihař <michal@cihar.com>2017-02-07 11:49:32 +0100
committerMichal Čihař <michal@cihar.com>2017-02-07 11:51:51 +0100
commit20e749ad4cc609f12bae80e83040d67282bc3ab2 (patch)
treeb8789b5907f6a1cadcdfecd0e1544d8032cdd18b /src/Components
parentc35cd439fbcb9276d1374ffddd7db67048e392e3 (diff)
downloadsql-parser-20e749ad4cc609f12bae80e83040d67282bc3ab2.zip
sql-parser-20e749ad4cc609f12bae80e83040d67282bc3ab2.tar.gz
sql-parser-20e749ad4cc609f12bae80e83040d67282bc3ab2.tar.bz2
Properly document parameter type
Signed-off-by: Michal Čihař <michal@cihar.com>
Diffstat (limited to 'src/Components')
-rw-r--r--src/Components/CaseExpression.php4
-rw-r--r--src/Components/ExpressionArray.php4
-rw-r--r--src/Components/UnionKeyword.php4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/Components/CaseExpression.php b/src/Components/CaseExpression.php
index 54174df..905d666 100644
--- a/src/Components/CaseExpression.php
+++ b/src/Components/CaseExpression.php
@@ -200,8 +200,8 @@ class CaseExpression extends Component
}
/**
- * @param Expression $component the component to be built
- * @param array $options parameters for building
+ * @param CaseExpression $component the component to be built
+ * @param array $options parameters for building
*
* @return string
*/
diff --git a/src/Components/ExpressionArray.php b/src/Components/ExpressionArray.php
index a126200..a56e47c 100644
--- a/src/Components/ExpressionArray.php
+++ b/src/Components/ExpressionArray.php
@@ -110,8 +110,8 @@ class ExpressionArray extends Component
}
/**
- * @param Expression[] $component the component to be built
- * @param array $options parameters for building
+ * @param ExpressionArray $component the component to be built
+ * @param array $options parameters for building
*
* @return string
*/
diff --git a/src/Components/UnionKeyword.php b/src/Components/UnionKeyword.php
index e875cbb..5a3ddc5 100644
--- a/src/Components/UnionKeyword.php
+++ b/src/Components/UnionKeyword.php
@@ -19,8 +19,8 @@ use PhpMyAdmin\SqlParser\Statements\SelectStatement;
class UnionKeyword extends Component
{
/**
- * @param SelectStatement[] $component the component to be built
- * @param array $options parameters for building
+ * @param UnionKeyword[] $component the component to be built
+ * @param array $options parameters for building
*
* @return string
*/