@@ -35,7 +35,7 @@ |
||
| 35 | 35 | |
| 36 | 36 | public function words($words = null) |
| 37 | 37 | { |
| 38 | - $words = $words ? VocabTerm::whereIn('term', (array) $words)->pluck('id')->toarray() : $words; |
|
| 38 | + $words = $words ? VocabTerm::whereIn('term', (array)$words)->pluck('id')->toarray() : $words; |
|
| 39 | 39 | $this->words = $words ?? ($this->words ?: VocabTerm::pluck('id')->toArray()); |
| 40 | 40 | |
| 41 | 41 | return $this; |