mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
214d278119
commit
4957418a4b
1 changed files with 1 additions and 0 deletions
|
@ -597,6 +597,7 @@ class CakeResponse {
|
|||
return isset($headers['Location']) ? $headers['Location'] : null;
|
||||
}
|
||||
$this->header('Location', $url);
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue