Skip to content

Commit 51fbdbe

Browse files
committed
Fix: Icon check
1 parent e31c950 commit 51fbdbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Classes/FusionObjects/AttributeImplementation.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ private function getAttributesFromSettings(
254254
// Cleanup attributes: remove null values
255255
$attributes = array_filter(
256256
$attributes,
257-
fn($value) => $value !== null && $value !== '',
257+
fn ($value) => $value !== null && $value !== '',
258258
);
259259

260260
return $attributes;
@@ -453,7 +453,7 @@ private function getStringSettingsValue(
453453
private function checkIfIconExists(string $group, string $icon): bool
454454
{
455455
$path = sprintf(
456-
'resource://Carbon.Fontawesome/Public/Icons/%s/%s.svg',
456+
'resource://Carbon.Fontawesome.Icons/Public/%s/%s.svg',
457457
$group,
458458
$icon,
459459
);
@@ -701,7 +701,7 @@ private function trim(mixed $value): mixed
701701
return trim($value, " \n\r\t\v\0'\"");
702702
}
703703
if (is_array($value)) {
704-
return array_map(fn($item) => $this->trim($item), $value);
704+
return array_map(fn ($item) => $this->trim($item), $value);
705705
}
706706
return $value;
707707
}

0 commit comments

Comments
 (0)