Skip to content

Commit

Permalink
update PHPDoc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Jun 8, 2024
1 parent 7ae73b1 commit a31f82f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/Assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public function __construct(string $manifestFile, string $basePath, string $algo
}

/**
* Injects tags for entries specified in the manifest to the page header
* Injects tags for entries specified in the manifest to the page header.
*
* @param array|string $entrypoint
* @param array $customOptions (optional)
Expand Down Expand Up @@ -98,7 +98,7 @@ public function inject(array|string $entrypoint, array $customOptions = []): voi
}

/**
* Returns the script tag for an entry in the manifest
* Returns the script tag for an entry in the manifest.
*
* @param string $entrypoint
* @param array $customOptions (optional)
Expand All @@ -123,7 +123,7 @@ public function getScriptTag(string $entrypoint, array $customOptions = []): str
}

/**
* Returns the style tags for an entry in the manifest
* Returns the style tags for an entry in the manifest.
*
* @param string $entrypoint
* @param array $customOptions (optional)
Expand All @@ -145,7 +145,7 @@ public function getStyleTags(string $entrypoint, array $customOptions = []): arr
}

/**
* Returns the preload tags for an entry in the manifest
* Returns the preload tags for an entry in the manifest.
*
* @param string $entry
* @return array
Expand All @@ -158,7 +158,7 @@ public function getPreloadTags(string $entry): array
}

/**
* Returns priority for an action
* Returns priority for an action.
*
* @param array|int $priority
* @param string $key
Expand All @@ -179,7 +179,7 @@ private function getPriority(array|int $priority, string $key)
}

/**
* Returns optional attributes for script or link tags
* Returns optional attributes for script or link tags.
*
* @param array $url
* @param array $attributes
Expand All @@ -204,7 +204,7 @@ private function getAttributes(array $url, array $attributes, array $customOptio
}

/**
* Merges custom options with defaults
* Merges custom options with defaults.
*
* @param array $options (optional)
* @return array
Expand All @@ -218,7 +218,7 @@ private function mergeOptions(array $options = [])
}

/**
* Determines wether a file is a stylesheet based on its extension
* Determines whether a file is a stylesheet based on its extension.
*
* @param string $entry
* @return bool
Expand Down

0 comments on commit a31f82f

Please sign in to comment.