@@ -103,10 +103,10 @@ |
||
103 | 103 | $patterns = synapse()->memory->substitute()->keys()->all(); |
104 | 104 | $replacements = synapse()->memory->substitute()->values()->all(); |
105 | 105 | |
106 | - // $this->source = mb_strtolower($this->original); |
|
106 | + // $this->source = mb_strtolower($this->original); |
|
107 | 107 | $this->source = $this->original; |
108 | 108 | $this->source = preg_replace($patterns, $replacements, $this->source); |
109 | - // $this->source = preg_replace('/[^\pL\d\s]+/u', '', $this->source); |
|
109 | + // $this->source = preg_replace('/[^\pL\d\s]+/u', '', $this->source); |
|
110 | 110 | $this->source = remove_whitespace($this->source); |
111 | 111 | } |
112 | 112 | } |
@@ -38,7 +38,7 @@ |
||
38 | 38 | public function parse() |
39 | 39 | { |
40 | 40 | if ($this->responseQueueItem()->getCommand() === '-') { |
41 | - return $this->source(); |
|
41 | + return $this->source(); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | return false; |
@@ -51,7 +51,7 @@ |
||
51 | 51 | $matches = $this->getMatchesFromPattern($pattern, $this->source()); |
52 | 52 | $condition = $matches[0][0]; |
53 | 53 | |
54 | - return str_replace($condition, "", $this->source()); |
|
54 | + return str_replace($condition, "", $this->source()); |
|
55 | 55 | } |
56 | 56 | |
57 | 57 | } |