From 36a4b4591195fd62678896512d7fd8619855a58c Mon Sep 17 00:00:00 2001 From: Olle Haerstedt Date: Wed, 21 Dec 2016 16:20:49 +0100 Subject: [PATCH] Dev: phpdoc fixes --- application/helpers/expressions/em_core_helper.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/application/helpers/expressions/em_core_helper.php b/application/helpers/expressions/em_core_helper.php index 7ede9400f6d..8dd9f9a9df7 100644 --- a/application/helpers/expressions/em_core_helper.php +++ b/application/helpers/expressions/em_core_helper.php @@ -445,10 +445,9 @@ private function RDP_EvaluateUnary(array $token) /** * Main entry function * @param string $expr - * @param $onlyparse - if true, then validate the syntax without computing an answer + * @param boolean $onlyparse - if true, then validate the syntax without computing an answer * @return boolean - true if success, false if any error occurred */ - public function RDP_Evaluate($expr, $onlyparse=false) { $this->RDP_expr = $expr; @@ -1761,7 +1760,7 @@ private function RDP_isValidVariable($name) /** * Return true if the variable name is writable * @param $name - * @return + * @return boolean */ private function RDP_isWritableVariable($name) { @@ -1771,9 +1770,9 @@ private function RDP_isWritableVariable($name) /** * Process an expression and return its boolean value * @param $expr - * @param $groupSeq - needed to determine whether using variables before they are declared - * @param $questionSeq - needed to determine whether using variables before they are declared - * @return + * @param int $groupSeq - needed to determine whether using variables before they are declared + * @param int $questionSeq - needed to determine whether using variables before they are declared + * @return boolean */ public function ProcessBooleanExpression($expr,$groupSeq=-1,$questionSeq=-1) {