Completed
Push — master ( 5c0896...4ec6a5 )
by Lars
02:17
created
src/voku/helper/stopwords/ru.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -156,6 +156,6 @@
 block discarded – undo
156 156
     'между',
157 157
 ];
158 158
 
159
-$result =& $data;
159
+$result = & $data;
160 160
 unset($data);
161 161
 return $result;
Please login to merge, or discard this patch.
src/voku/helper/StopWords.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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])) {
Please login to merge, or discard this patch.
src/voku/helper/stopwords/ca.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,6 +99,6 @@
 block discarded – undo
99 99
     'sådan',
100 100
 ];
101 101
 
102
-$result =& $data;
102
+$result = & $data;
103 103
 unset($data);
104 104
 return $result;
Please login to merge, or discard this patch.