Completed
Branch master (ad01b8)
by Lars
16:12
created
Category
src/voku/helper/stopwords/pt.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
     'teriam',
209 209
 );
210 210
 
211
-$result =& $data;
211
+$result = & $data;
212 212
 unset($data);
213 213
 return $result;
214 214
 
Please login to merge, or discard this patch.
src/voku/helper/stopwords/es.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -318,6 +318,6 @@
 block discarded – undo
318 318
     'tened',
319 319
 );
320 320
 
321
-$result =& $data;
321
+$result = & $data;
322 322
 unset($data);
323 323
 return $result;
Please login to merge, or discard this patch.
src/voku/helper/stopwords/nl.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,6 +106,6 @@
 block discarded – undo
106 106
 'andere',
107 107
 );
108 108
 
109
-$result =& $data;
109
+$result = & $data;
110 110
 unset($data);
111 111
 return $result;
Please login to merge, or discard this patch.
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
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
   private function loadLanguageData($language = 'de')
45 45
   {
46 46
     if (in_array($language, self::$availableLanguages, true) === false) {
47
-      throw new StopWordsLanguageNotExists('language not supported: ' . $language);
47
+      throw new StopWordsLanguageNotExists('language not supported: '.$language);
48 48
     }
49 49
 
50 50
     $this->stopWords[$language] = $this->getData($language);
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
       return $RESULT_STOP_WORDS_CACHE[$file];
66 66
     }
67 67
 
68
-    $file = __DIR__ . '/stopwords/' . $file . '.php';
68
+    $file = __DIR__.'/stopwords/'.$file.'.php';
69 69
     if (file_exists($file)) {
70 70
       /** @noinspection PhpIncludeInspection */
71 71
       $RESULT_STOP_WORDS_CACHE[$file] = require $file;
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
   public function getStopWordsFromLanguage($language = 'de')
89 89
   {
90 90
     if (in_array($language, self::$availableLanguages, true) === false) {
91
-      throw new StopWordsLanguageNotExists('language not supported: ' . $language);
91
+      throw new StopWordsLanguageNotExists('language not supported: '.$language);
92 92
     }
93 93
 
94 94
     if (!isset($this->stopWords[$language])) {
Please login to merge, or discard this patch.