@@ -156,6 +156,6 @@ |
||
| 156 | 156 | 'между', |
| 157 | 157 | ]; |
| 158 | 158 | |
| 159 | -$result =& $data; |
|
| 159 | +$result = & $data; |
|
| 160 | 160 | unset($data); |
| 161 | 161 | return $result; |
@@ -178,6 +178,6 @@ |
||
| 178 | 178 | 'že', |
| 179 | 179 | ]; |
| 180 | 180 | |
| 181 | -$result =& $data; |
|
| 181 | +$result = & $data; |
|
| 182 | 182 | unset($data); |
| 183 | 183 | return $result; |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | private function loadLanguageData(string $language = 'de') |
| 65 | 65 | { |
| 66 | 66 | if (\in_array($language, self::$availableLanguages, true) === false) { |
| 67 | - throw new StopWordsLanguageNotExists('language not supported: ' . $language); |
|
| 67 | + throw new StopWordsLanguageNotExists('language not supported: '.$language); |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | $this->stopWords[$language] = $this->getData($language); |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | return $RESULT_STOP_WORDS_CACHE[$file]; |
| 86 | 86 | } |
| 87 | 87 | |
| 88 | - $file = __DIR__ . '/stopwords/' . $file . '.php'; |
|
| 88 | + $file = __DIR__.'/stopwords/'.$file.'.php'; |
|
| 89 | 89 | if (file_exists($file)) { |
| 90 | 90 | /** @noinspection PhpIncludeInspection */ |
| 91 | 91 | $RESULT_STOP_WORDS_CACHE[$file] = require $file; |
@@ -108,7 +108,7 @@ discard block |
||
| 108 | 108 | public function getStopWordsFromLanguage(string $language = 'de'): array |
| 109 | 109 | { |
| 110 | 110 | if (\in_array($language, self::$availableLanguages, true) === false) { |
| 111 | - throw new StopWordsLanguageNotExists('language not supported: ' . $language); |
|
| 111 | + throw new StopWordsLanguageNotExists('language not supported: '.$language); |
|
| 112 | 112 | } |
| 113 | 113 | |
| 114 | 114 | if (!isset($this->stopWords[$language])) { |