@@ -21,6 +21,9 @@ |
||
| 21 | 21 | */ |
| 22 | 22 | private $endNode; |
| 23 | 23 | |
| 24 | + /** |
|
| 25 | + * @param string $value |
|
| 26 | + */ |
|
| 24 | 27 | public function __construct($value) |
| 25 | 28 | { |
| 26 | 29 | $this->value = $value; |
@@ -8,6 +8,9 @@ |
||
| 8 | 8 | public $child; |
| 9 | 9 | public $word; |
| 10 | 10 | |
| 11 | + /** |
|
| 12 | + * @param \Autocomplete\Container\Trie\Node $child |
|
| 13 | + */ |
|
| 11 | 14 | public final function execute($string, &$child) |
| 12 | 15 | { |
| 13 | 16 | $this->word = (join($string)); |