Completed
Pull Request — master (#23)
by Peter
01:51
created
AnalyzerText/Filter/WordList/WordList.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
                 // удаляем слова из последовательности
88 88
                 $key = $this->getText()->key();
89 89
                 for ($i = 1; $i < $sequence_length; ++$i) {
90
-                    $this->getText()->offsetUnset($key + $i);
90
+                    $this->getText()->offsetUnset($key+$i);
91 91
                 }
92 92
 
93 93
                 return true;
Please login to merge, or discard this patch.
AnalyzerText/Filter/Filter.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
      */
75 75
     protected function getPreviousWord($shift = 1)
76 76
     {
77
-        return $this->getText()->offsetGet($this->getText()->key() + $shift * -1);
77
+        return $this->getText()->offsetGet($this->getText()->key()+$shift*-1);
78 78
     }
79 79
 
80 80
     /**
@@ -86,6 +86,6 @@  discard block
 block discarded – undo
86 86
      */
87 87
     protected function getNextWord($shift = 1)
88 88
     {
89
-        return $this->getText()->offsetGet($this->getText()->key() + $shift);
89
+        return $this->getText()->offsetGet($this->getText()->key()+$shift);
90 90
     }
91 91
 }
Please login to merge, or discard this patch.