Simplification of return types. No need to return more mixed than necessary.

This commit is contained in:
euromark 2014-11-08 20:07:47 +01:00
parent 345a18f15f
commit 41c646c5a1
9 changed files with 26 additions and 26 deletions

View file

@ -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);