@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function ranker() |
46 | 46 | { |
47 | - if (! empty($this->sentence)) { |
|
47 | + if (!empty($this->sentence)) { |
|
48 | 48 | |
49 | 49 | $wordsArray = preg_split('/\s+/', $this->sentence); |
50 | 50 | $rankedArray = []; |
@@ -51,7 +51,7 @@ discard block |
||
51 | 51 | $this->desc = $desc; |
52 | 52 | $this->sentence = $sentence; |
53 | 53 | |
54 | - if (! empty($this->slang) && ! empty($this->desc) && ! empty($this->sentence)) { |
|
54 | + if (!empty($this->slang) && !empty($this->desc) && !empty($this->sentence)) { |
|
55 | 55 | |
56 | 56 | foreach ($this->words as $urbanWord) { |
57 | 57 | |
@@ -94,7 +94,7 @@ discard block |
||
94 | 94 | 'key' => null, |
95 | 95 | ]; |
96 | 96 | |
97 | - if (! empty($this->slang)) { |
|
97 | + if (!empty($this->slang)) { |
|
98 | 98 | |
99 | 99 | foreach ($this->words as $urbanWordKey => $urbanWord) { |
100 | 100 | |
@@ -137,7 +137,7 @@ discard block |
||
137 | 137 | */ |
138 | 138 | public function updateWord($slang = '', $slangUpdate = '', $descUpdate = '', $sentenceUpdate = '') |
139 | 139 | { |
140 | - if (! empty($slangUpdate) && ! empty($descUpdate) && ! empty($sentenceUpdate)) { |
|
140 | + if (!empty($slangUpdate) && !empty($descUpdate) && !empty($sentenceUpdate)) { |
|
141 | 141 | |
142 | 142 | $this->slang = $slang; |
143 | 143 | $wordKey = $this->readWord($this->slang); |
@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | 'urbanWord' => [], |
178 | 178 | ]; |
179 | 179 | |
180 | - if (! empty($this->slang)) { |
|
180 | + if (!empty($this->slang)) { |
|
181 | 181 | |
182 | 182 | foreach ($this->words as $urbanWordKey => $urbanWord) { |
183 | 183 |