@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | if (is_callable($options)) { |
62 | 62 | $this->options = $options; |
63 | 63 | } else { |
64 | - $this->options = (array)$options; |
|
64 | + $this->options = (array) $options; |
|
65 | 65 | } |
66 | 66 | |
67 | 67 | return $this; |
@@ -207,7 +207,7 @@ discard block |
||
207 | 207 | throw new \InvalidArgumentException("[$model] must be a valid model class"); |
208 | 208 | } |
209 | 209 | |
210 | - $this->options = function ($value) use ($model, $idField, $textField) { |
|
210 | + $this->options = function($value) use ($model, $idField, $textField) { |
|
211 | 211 | if (empty($value)) { |
212 | 212 | return []; |
213 | 213 | } |
@@ -242,7 +242,7 @@ discard block |
||
242 | 242 | protected function loadRemoteOptions($url, $parameters = [], $options = []) |
243 | 243 | { |
244 | 244 | $ajaxOptions = [ |
245 | - 'url' => $url . '?' . http_build_query($parameters), |
|
245 | + 'url' => $url.'?'.http_build_query($parameters), |
|
246 | 246 | ]; |
247 | 247 | $configs = array_merge([ |
248 | 248 | 'allowClear' => true, |
@@ -421,7 +421,7 @@ discard block |
||
421 | 421 | 'groups' => $this->groups, |
422 | 422 | ]); |
423 | 423 | |
424 | - $this->attribute('data-value', implode(',', (array)$this->value())); |
|
424 | + $this->attribute('data-value', implode(',', (array) $this->value())); |
|
425 | 425 | |
426 | 426 | return parent::render(); |
427 | 427 | } |