Skip to content
Permalink
Browse files

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.
  • Loading branch information...
Mathew Foscarini
Mathew Foscarini committed Aug 5, 2014
1 parent 214d278 commit 4957418a4bad3d2cba1b157c1dbe2959f9d39034
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cake/Network/CakeResponse.php
@@ -597,6 +597,7 @@ public function location($url = null) {
return isset($headers['Location']) ? $headers['Location'] : null;
}
$this->header('Location', $url);
return null;
}
/**

0 comments on commit 4957418

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