Skip to content

Commit

Permalink
typo in phpdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
willdurand committed Dec 9, 2013
1 parent 151f78b commit 8fc2f8c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Negotiation/FormatNegotiator.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function getBest($header, array $priorities = array())
}

/**
* Returns the best format (as a string) based on a given `Accept` header,
* Return the best format (as a string) based on a given `Accept` header,
* and a set of priorities. Priorities are "formats" such as `json`, `xml`,
* etc. or "mime types" such as `application/json`, `application/xml`, etc.
*
Expand Down Expand Up @@ -116,7 +116,7 @@ public function registerFormat($format, array $mimeTypes, $override = false)
}

/**
* Returns the format for a given mime type, or null
* Return the format for a given mime type, or null
* if not found.
*
* @param string $mimeType
Expand All @@ -135,7 +135,7 @@ public function getFormat($mimeType)
}

/**
* Returns an array of mime types for the given set of formats.
* Return an array of mime types for the given set of formats.
*
* @param array $formats A set of formats.
*
Expand Down

0 comments on commit 8fc2f8c

Please sign in to comment.