Passed
Push — v3 ( e36664...83357b )
by Andrew
34:40 queued 23:37
created
src/helpers/MetaValue.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -307,7 +307,7 @@  discard block
 block discarded – undo
307 307
         // Handle being passed in an object
308 308
         if (\is_object($metaValue)) {
309 309
             if ($metaValue instanceof Markup) {
310
-                return trim(html_entity_decode((string)$metaValue, ENT_NOQUOTES, 'UTF-8'));
310
+                return trim(html_entity_decode((string) $metaValue, ENT_NOQUOTES, 'UTF-8'));
311 311
             }
312 312
             if ($metaValue instanceof Asset) {
313 313
                 /** @var Asset $metaValue */
@@ -338,7 +338,7 @@  discard block
 block discarded – undo
338 338
         }
339 339
         // Swap out the remaining {xyz} tags with {{xyz}}
340 340
         $template = preg_replace_callback('/(?<!\{)\{\s*(\w+)([^\{]*?)\}/', function(array $match) {
341
-            $replace = $match[1] . $match[2];
341
+            $replace = $match[1].$match[2];
342 342
             return "{{ $replace|raw }}";
343 343
         }, $template);
344 344
         $result = self::$view->renderString($template, $variables);
Please login to merge, or discard this patch.