Completed
Push — master ( 096182...c486c5 )
by Ma
02:00
created
src/Autocomplete/Container/Trie/Node.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -21,6 +21,9 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
 
74 74
     public function addSuffix($suffix, $word)
75 75
     {
76
-         if (count($suffix) < 1) {
76
+            if (count($suffix) < 1) {
77 77
             $this->endNode = $word;
78 78
             return true;
79 79
         }
Please login to merge, or discard this patch.