@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | * @param String $definition |
86 | 86 | * @return Array the tree node the element was stored in |
87 | 87 | */ |
88 | - protected function &addElement( Array &$path, &$term, &$definition ) { |
|
88 | + protected function &addElement( array &$path, &$term, &$definition ) { |
|
89 | 89 | |
90 | 90 | $tree = &$this->mTree; |
91 | 91 | |
@@ -142,7 +142,7 @@ discard block |
||
142 | 142 | } |
143 | 143 | } |
144 | 144 | |
145 | - public function findNextTermNoSkip( Array &$tree, &$lexemes, $index, $countLexemes ) { |
|
145 | + public function findNextTermNoSkip( array &$tree, &$lexemes, $index, $countLexemes ) { |
|
146 | 146 | |
147 | 147 | if ( $index + 1 < $countLexemes && array_key_exists( $currLex = $lexemes[ $index + 1 ][ 0 ], $tree ) ) { |
148 | 148 | $ret = $this->findNextTermNoSkip( $tree[ $currLex ], $lexemes, $index + 1, $countLexemes ); |