Permalink
Browse files

fixed RequestHandlerComponent::setContent() parameter formatting

  • Loading branch information...
okonomi
okonomi committed Apr 3, 2013
1 parent 7b7c004 commit 142fa0b8c8f9972e87615b995c40c3e257a26160
Showing with 2 additions and 2 deletions.
  1. +2 −2 en/core-libraries/components/request-handling.rst
@@ -175,9 +175,9 @@ application.
.. php:method:: setContent($name, $type = null)
- - $name string - The name or file extension of the Content-type
+ :param string $name: The name or file extension of the Content-type
ie. html, css, json, xml.
- - $type mixed - The mime-type(s) that the Content-type maps to.
+ :param mixed $type: The mime-type(s) that the Content-type maps to.
setContent adds/sets the Content-types for the given name. Allows
content-types to be mapped to friendly aliases and or extensions.

0 comments on commit 142fa0b

Please sign in to comment.