Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Updating doc blocks.

  • Loading branch information...
commit ceed42477007f75a69b6794fe33d383382e8eabd 1 parent 90d8667
@markstory markstory authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/Cake/Network/CakeRequest.php
View
4 lib/Cake/Network/CakeRequest.php
@@ -714,7 +714,7 @@ public function data($name) {
}
/**
- * Read data from `php://stdin`. Useful when interacting with XML or JSON
+ * Read data from `php://input`. Useful when interacting with XML or JSON
* request body content.
*
* Getting input with a decoding function:
@@ -744,7 +744,7 @@ public function input($callback = null) {
}
/**
- * Read data from php://stdin, mocked in tests.
+ * Read data from php://input, mocked in tests.
*
* @return string contents of stdin
*/

3 comments on commit ceed424

@renan
Collaborator

Maybe change the method name too?
Since this is a new class in 2.0 I don't see why not.

_readStdin => _readInput

@markstory
Owner

Ah good idea. :)

@markstory
Owner

Fixed in [50a0a51]

Please sign in to comment.
Something went wrong with that request. Please try again.