Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
199ocero authored and github-actions[bot] committed Jan 20, 2024
1 parent dc4ba58 commit 5cfa048
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Components/ActivitySection.php
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public function isHeadingVisible(): bool
*/
public function getChildComponentContainers(bool $withHidden = false): array
{
if ((!$withHidden) && $this->isHidden()) {
if ((! $withHidden) && $this->isHidden()) {
return [];
}

Expand Down
4 changes: 2 additions & 2 deletions src/Concerns/HasSetting.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ private function modifiedState(): array

$properties = $state['properties'];

if (!empty($properties) && isset($properties['old']) && isset($properties['attributes'])) {
if (! empty($properties) && isset($properties['old']) && isset($properties['attributes'])) {

$oldValues = $properties['old'];
$newValues = $properties['attributes'];
Expand All @@ -165,7 +165,7 @@ private function modifiedState(): array

foreach ($newValues as $key => $newValue) {
if (isset($oldValues[$key]) && $oldValues[$key] != $newValue) {
$changes[] = "- {$key} from <strong>" . htmlspecialchars($oldValues[$key]) . '</strong> to <strong>' . htmlspecialchars($newValue) . '</strong>';
$changes[] = "- {$key} from <strong>".htmlspecialchars($oldValues[$key]).'</strong> to <strong>'.htmlspecialchars($newValue).'</strong>';
}
}

Expand Down

0 comments on commit 5cfa048

Please sign in to comment.