Merge pull request #10186 from liviascapin/patch-1

Fix invalid return value hint
This commit is contained in:
Mark Sch 2017-02-08 13:50:46 +01:00 committed by GitHub
commit aa8d708b9a

View file

@ -1006,7 +1006,7 @@ class CakeRequest implements ArrayAccess {
* @param string $callback A decoding callback that will convert the string data to another * @param string $callback A decoding callback that will convert the string data to another
* representation. Leave empty to access the raw input data. You can also * representation. Leave empty to access the raw input data. You can also
* supply additional parameters for the decoding callback using var args, see above. * supply additional parameters for the decoding callback using var args, see above.
* @return The decoded/processed request data. * @return mixed The decoded/processed request data.
*/ */
public function input($callback = null) { public function input($callback = null) {
$input = $this->_readInput(); $input = $this->_readInput();