Merge pull request #3426 from thinkingmedia/patch-1

Grammar fixes
This commit is contained in:
ADmad 2014-05-01 01:50:17 +05:30
commit 6f9efbf386

View file

@ -694,10 +694,10 @@ class Router {
}
/**
* Get the either the current request object, or the first one.
* Gets the current request object, or the first one.
*
* @param boolean $current Whether you want the request from the top of the stack or the first one.
* @return CakeRequest or null.
* @param boolean $current True to get the current request object, or false to get the first one.
* @return CakeRequest|null Null if stack is empty.
*/
public static function getRequest($current = false) {
if ($current) {