@@ -41,7 +41,7 @@ |
||
41 | 41 | */ |
42 | 42 | private function handleFilter($switch, $filter, Filesystem $filesystem) |
43 | 43 | { |
44 | - if ($filter === 'StopWords' && ! is_array($switch)) { |
|
44 | + if ($filter === 'StopWords' && !is_array($switch)) { |
|
45 | 45 | Filter::addStopWordFilter($switch === true ? 'en' : $switch, $filesystem); |
46 | 46 | } else { |
47 | 47 | Filter::addFilter($filter, $switch === true ? [] : [$switch]); |