Added missing return statement.

PhpStorm is flagging this function as missing a return statement. Using a return statement (instead of the default) makes the intent of the source code clearer.
This commit is contained in:
Mathew Foscarini 2014-08-05 08:39:19 -04:00
parent 214d278119
commit 4957418a4b

View file

@ -597,6 +597,7 @@ class CakeResponse {
return isset($headers['Location']) ? $headers['Location'] : null;
}
$this->header('Location', $url);
return null;
}
/**