Skip to content

Commit 8751ed1

Browse files
committed
refactor(helper): Clean up whitespace in DotCmsHelper for improved readability
- Removed unnecessary whitespace in DotCmsHelper methods to enhance code clarity. - Maintained consistent formatting for better overall structure.
1 parent da09908 commit 8751ed1

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Utils/DotCmsHelper.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public static function getContainerData(array $containers, array $container): ?a
2626
return null;
2727
}
2828

29-
if (!is_array($containers[$identifier])) {
29+
if (! is_array($containers[$identifier])) {
3030
return null;
3131
}
3232

@@ -62,7 +62,7 @@ public static function htmlAttributes(array $attributes): string
6262
$encoded = json_encode($value);
6363
$stringValue = $encoded !== false ? $encoded : '[complex value]';
6464
}
65-
65+
6666
$html .= ' ' . $key . '="' . htmlspecialchars($stringValue, ENT_QUOTES, 'UTF-8') . '"';
6767
}
6868
}
@@ -90,7 +90,7 @@ public static function simpleContentHtml(array $content): string
9090
} else {
9191
$title = 'No Title';
9292
}
93-
93+
9494
$contentType = 'unknown';
9595
if (isset($content['contentType']) && is_string($content['contentType'])) {
9696
$contentType = $content['contentType'];

0 commit comments

Comments
 (0)