Completed
Pull Request — master (#4696)
by
unknown
03:04
created
src/Form/Field/ValuePicker.php 1 patch
Spacing   +1 added lines, -5 removed lines patch added patch discarded remove patch
@@ -116,8 +116,4 @@
 block discarded – undo
116 116
             return [
117 117
                 'url'     => $this->field->objectUrl($item),
118 118
                 'value'   => $item,
119
-                'is_file' => $field == File::class,
120
-            ];
121
-        });
122
-    }
123
-}
119
+                'is_file' => $field
124 120
\ No newline at end of file
Please login to merge, or discard this patch.
src/Traits/HasAssets.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -325,7 +325,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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]) {
Please login to merge, or discard this patch.