Skip to content

Commit

Permalink
docs: remove redundant @param annotation (#43)
Browse files Browse the repository at this point in the history
Followup to d878e57 / #42
  • Loading branch information
neoncitylights authored Mar 27, 2024
1 parent d878e57 commit 78d06cc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@

- Fixes minor phpDoc annotation issues within `MediaType`. Specifically:
- Removes redundant `@return` annotations that are already specified from return typehints
- Removes redundant `@param` annotation from `getParameterValue()`
- Adds missing `@see` annotation to `isAudioOrVideo()` method in reference to a WHATWG Standard link

## 2.0.0 (2023-12-11)
Expand Down
2 changes: 0 additions & 2 deletions src/MediaType.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ public function getEssence(): string {
* if that parameter exists; otherwise, it will return a null value.
* e.g, if given a media type of 'text/plain;charset=UTF-8', and the
* given parameter is 'charset', it will return 'UTF-8'.
*
* @param string $parameterName
*/
public function getParameterValue( string $parameterName ): ?string {
if ( !\array_key_exists( $parameterName, $this->parameters ) ) {
Expand Down

0 comments on commit 78d06cc

Please sign in to comment.