Completed
Push — master ( 97bfcc...b24f48 )
by Ma
02:01
created
src/Autocomplete/Container/Trie/Node.php 1 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.
src/Autocomplete/Container/Trie/Trie.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     {
49 49
         $this->inputParse($prefix);
50 50
         $child = $this->root->getClosest($prefix);
51
-         if( ! $child) {
51
+            if( ! $child) {
52 52
             return [];
53 53
         }
54 54
         $postFixes = $child->getPostfix($prefix);
Please login to merge, or discard this patch.