From 8ed305fb8a06920e6928514efca0a426d739531f Mon Sep 17 00:00:00 2001 From: Abdul Malik Ikhsan Date: Mon, 27 Jul 2020 02:19:01 +0700 Subject: [PATCH] Fixes #23 : add Expression to docblock at Sql\Predicate\Predicate methods Signed-off-by: Abdul Malik Ikhsan --- src/Sql/Predicate/Predicate.php | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/Sql/Predicate/Predicate.php b/src/Sql/Predicate/Predicate.php index a8c6a0ba1..f266a661e 100644 --- a/src/Sql/Predicate/Predicate.php +++ b/src/Sql/Predicate/Predicate.php @@ -69,8 +69,8 @@ public function unnest() * * Utilizes Operator predicate * - * @param int|float|bool|string $left - * @param int|float|bool|string $right + * @param int|float|bool|string|Expression $left + * @param int|float|bool|string|Expression $right * @param string $leftType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes} * @param string $rightType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes} * @return self Provides a fluent interface @@ -91,8 +91,8 @@ public function equalTo($left, $right, $leftType = self::TYPE_IDENTIFIER, $right * * Utilizes Operator predicate * - * @param int|float|bool|string $left - * @param int|float|bool|string $right + * @param int|float|bool|string|Expression $left + * @param int|float|bool|string|Expression $right * @param string $leftType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes} * @param string $rightType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes} * @return self Provides a fluent interface @@ -113,8 +113,8 @@ public function notEqualTo($left, $right, $leftType = self::TYPE_IDENTIFIER, $ri * * Utilizes Operator predicate * - * @param int|float|bool|string $left - * @param int|float|bool|string $right + * @param int|float|bool|string|Expression $left + * @param int|float|bool|string|Expression $right * @param string $leftType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes} * @param string $rightType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes} * @return self Provides a fluent interface @@ -135,8 +135,8 @@ public function lessThan($left, $right, $leftType = self::TYPE_IDENTIFIER, $righ * * Utilizes Operator predicate * - * @param int|float|bool|string $left - * @param int|float|bool|string $right + * @param int|float|bool|string|Expression $left + * @param int|float|bool|string|Expression $right * @param string $leftType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes} * @param string $rightType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes} * @return self Provides a fluent interface @@ -157,8 +157,8 @@ public function greaterThan($left, $right, $leftType = self::TYPE_IDENTIFIER, $r * * Utilizes Operator predicate * - * @param int|float|bool|string $left - * @param int|float|bool|string $right + * @param int|float|bool|string|Expression $left + * @param int|float|bool|string|Expression $right * @param string $leftType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes} * @param string $rightType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes} * @return self Provides a fluent interface @@ -179,8 +179,8 @@ public function lessThanOrEqualTo($left, $right, $leftType = self::TYPE_IDENTIFI * * Utilizes Operator predicate * - * @param int|float|bool|string $left - * @param int|float|bool|string $right + * @param int|float|bool|string|Expression $left + * @param int|float|bool|string|Expression $right * @param string $leftType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_IDENTIFIER {@see allowedTypes} * @param string $rightType TYPE_IDENTIFIER or TYPE_VALUE by default TYPE_VALUE {@see allowedTypes} * @return self Provides a fluent interface