@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | throw new \InvalidArgumentException("[$model] must be a valid model class"); |
117 | 117 | } |
118 | 118 | |
119 | - $this->options = function ($value) use ($model, $idField, $textField) { |
|
119 | + $this->options = function($value) use ($model, $idField, $textField) { |
|
120 | 120 | if (empty($value)) { |
121 | 121 | return []; |
122 | 122 | } |
@@ -166,7 +166,7 @@ discard block |
||
166 | 166 | |
167 | 167 | $ajaxOptions = json_encode(array_merge($ajaxOptions, $options), JSON_UNESCAPED_UNICODE); |
168 | 168 | |
169 | - $values = (array)$this->filter->getValue(); |
|
169 | + $values = (array) $this->filter->getValue(); |
|
170 | 170 | $values = array_filter($values); |
171 | 171 | $values = json_encode($values); |
172 | 172 |