Browse Source

removed type from _attribute function parameter

Kevin Pfeifer 4 years ago
parent
commit
bc8872baf8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/View/Helper/TreeHelper.php

+ 1 - 1
src/View/Helper/TreeHelper.php

@@ -480,7 +480,7 @@ class TreeHelper extends Helper {
 	 * @param bool $isItem is this an item or type call
 	 * @return string
 	 */
-	protected function _attributes($rType, array $elementData = [], bool $clear = true, bool $isItem = false) {
+	protected function _attributes($rType, array $elementData = [], $clear = true, bool $isItem = false) {
 		extract($this->_config);
 		if ($rType === $type && !$isItem) {
 			$attributes = $this->_typeAttributes;