@@ -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; |
@@ -222,7 +222,7 @@ discard block |
||
222 | 222 | throw new \InvalidArgumentException("[$model] must be a valid model class"); |
223 | 223 | } |
224 | 224 | |
225 | - $this->options = function ($value) use ($model, $idField, $textField) { |
|
225 | + $this->options = function($value) use ($model, $idField, $textField) { |
|
226 | 226 | if (empty($value)) { |
227 | 227 | return []; |
228 | 228 | } |
@@ -257,7 +257,7 @@ discard block |
||
257 | 257 | protected function loadRemoteOptions($url, $parameters = [], $options = []) |
258 | 258 | { |
259 | 259 | $ajaxOptions = [ |
260 | - 'url' => $url . '?' . http_build_query($parameters), |
|
260 | + 'url' => $url.'?'.http_build_query($parameters), |
|
261 | 261 | ]; |
262 | 262 | $configs = array_merge([ |
263 | 263 | 'allowClear' => true, |
@@ -435,7 +435,7 @@ discard block |
||
435 | 435 | 'groups' => $this->groups, |
436 | 436 | ]); |
437 | 437 | |
438 | - $this->attribute('data-value', implode(',', (array)$this->value())); |
|
438 | + $this->attribute('data-value', implode(',', (array) $this->value())); |
|
439 | 439 | |
440 | 440 | return parent::render(); |
441 | 441 | } |