Skip to content
Snippets Groups Projects
Commit 9784fe6c authored by Stefan Galinski's avatar Stefan Galinski :video_game:
Browse files

[BUGFIX] Fix PHP7 compatibility issue

parent b94d6176
No related branches found
Tags 3.2.4
No related merge requests found
......@@ -38,27 +38,14 @@ class ExtendedIfViewHelper extends AbstractConditionViewHelper {
* Note: The phpdoc data type of the parameter must be named "boolean".
* Otherwise Fluid doesn't evaluates conditions itself.
*
* @param boolean $condition
* @param boolean $or
* @param boolean $or2
* @param boolean $or3
* @param boolean $or4
* @param boolean $and
* @param boolean $and2
* @param boolean $and3
* @param boolean $and4
* @param boolean $negate
* @return string
*/
public function render(
$condition, $or = FALSE, $or2 = FALSE, $or3 = FALSE, $or4 = FALSE,
$and = TRUE, $and2 = TRUE, $and3 = TRUE, $and4 = TRUE, $negate = FALSE
) {
public function render() {
return parent::render();
}
/**
* This method decides if the condition is TRUE or FALSE. It can be overriden in extending viewhelpers to adjust functionality.
* This method decides if the condition is TRUE or FALSE. It can be overridden in extending viewhelpers to adjust functionality.
*
* @param array $arguments ViewHelper arguments to evaluate the condition for this ViewHelper, allows for flexiblity in overriding this method.
* @return bool
......@@ -78,5 +65,3 @@ class ExtendedIfViewHelper extends AbstractConditionViewHelper {
return isset($arguments['negate']) && $arguments['negate'] ? !$conditionResult : $conditionResult;
}
}
?>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment