Permalink
Browse files

correct the option key

documentation fix
'statusCodes' instead of 'codes'
  • Loading branch information...
1 parent 84eb46d commit 0536e058f9aa6e52509f0085fbc30b6697b10a9b @mouyang mouyang committed Jan 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Cake/Network/CakeResponse.php
@@ -379,7 +379,7 @@ class CakeResponse {
*
* @param array $options list of parameters to setup the response. Possible values are:
* - body: the response text that should be sent to the client
- * - codes: additional allowable response codes
+ * - statusCodes: additional allowable response codes
* - status: the HTTP status code to respond with
* - type: a complete mime-type string or an extension mapped in this class
* - charset: the charset for the response body

0 comments on commit 0536e05

Please sign in to comment.