@@ -325,7 +325,7 @@ discard block |
||
325 | 325 | |
326 | 326 | libxml_use_internal_errors(true); |
327 | 327 | |
328 | - $dom->loadHTML('<?xml encoding="utf-8" ?>' . $str); |
|
328 | + $dom->loadHTML('<?xml encoding="utf-8" ?>'.$str); |
|
329 | 329 | |
330 | 330 | libxml_use_internal_errors(false); |
331 | 331 | |
@@ -334,7 +334,7 @@ discard block |
||
334 | 334 | } |
335 | 335 | |
336 | 336 | if ($script = $dom->getElementsByTagName('script')[0]) { |
337 | - static::script(';(function () {' . $script->nodeValue . '})();'); |
|
337 | + static::script(';(function () {'.$script->nodeValue.'})();'); |
|
338 | 338 | } |
339 | 339 | |
340 | 340 | if ($element = $dom->getElementsByTagName('template')[0]) { |
@@ -48,7 +48,7 @@ |
||
48 | 48 | $this->value = json_encode($this->value, JSON_PRETTY_PRINT); |
49 | 49 | } |
50 | 50 | |
51 | - $this->mountPicker(function ($btn) { |
|
51 | + $this->mountPicker(function($btn) { |
|
52 | 52 | $this->addPickBtn($btn); |
53 | 53 | }); |
54 | 54 |
@@ -125,7 +125,7 @@ |
||
125 | 125 | $value = explode($this->separator, $value); |
126 | 126 | } |
127 | 127 | |
128 | - return collect(Arr::wrap($value))->map(function ($item) use ($field) { |
|
128 | + return collect(Arr::wrap($value))->map(function($item) use ($field) { |
|
129 | 129 | return [ |
130 | 130 | 'url' => $this->field->objectUrl($item), |
131 | 131 | 'value' => $item, |