diff --git a/src/Assets/Helpers/assets_helper.php b/src/Assets/Helpers/assets_helper.php index 6249e66f..ca6c45b1 100644 --- a/src/Assets/Helpers/assets_helper.php +++ b/src/Assets/Helpers/assets_helper.php @@ -14,8 +14,8 @@ * * @param string $location url to asset file * @param string $type css, js - * @param mixed $attributes Additional attributes to include in the asset link tag. - * Can be provided as a string (for value-less attributes like "defer") + * @param mixed $attributes Additional attributes to include in the asset link tag. + * Can be provided as a string (for value-less attributes like "defer") * or an associative array of attribute-value pairs. * Defaults to null. */ @@ -26,7 +26,7 @@ function asset_link(string $location, string $type, mixed $attributes = null): s $tag = ''; $additionalAttr = ''; - $defaultAttr = $type === 'css' ? "rel='stylesheet'" : ""; + $defaultAttr = $type === 'css' ? "rel='stylesheet'" : ''; if (is_string($attributes)) { $additionalAttr = $attributes;