Skip to content
Browse files

Grammar fixes

@return will accept the `|` or operator to define multiple return types. Don't use the word `or`.
  • Loading branch information...
Mathew Foscarini
Mathew Foscarini committed Apr 30, 2014
1 parent c930bbb commit bb726d58ba68df4ce5d04eaf9b19d7ef551eee4e
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/Cake/Routing/Router.php
@@ -694,10 +694,10 @@ public static function popRequest() {
* 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) {

0 comments on commit bb726d5

Please sign in to comment.
You can’t perform that action at this time.