mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-05 02:52:41 +00:00
Simplification of return types. No need to return more mixed than necessary.
This commit is contained in:
parent
345a18f15f
commit
41c646c5a1
9 changed files with 26 additions and 26 deletions
|
@ -731,7 +731,7 @@ class Router {
|
|||
*
|
||||
* @param string $name Parameter name
|
||||
* @param bool $current Current parameter, useful when using requestAction
|
||||
* @return string Parameter value
|
||||
* @return string|null Parameter value
|
||||
*/
|
||||
public static function getParam($name = 'controller', $current = false) {
|
||||
$params = Router::getParams($current);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue