@@ -157,8 +157,9 @@ |
||
157 | 157 | $closureReflection = new ReflectionFunction($checker); |
158 | 158 | $variables = $closureReflection->getStaticVariables(); |
159 | 159 | |
160 | - if(preg_match('/'.$variables['name'].'/', $command)) |
|
161 | - return $event; |
|
160 | + if(preg_match('/'.$variables['name'].'/', $command)) { |
|
161 | + return $event; |
|
162 | + } |
|
162 | 163 | } |
163 | 164 | |
164 | 165 | return false; |