Update ContentContainerActiveRecord.php

make `createUrl()` signature compatible with Child classes:

- dd388cb336/protected/humhub/modules/space/models/Space.php (L378)
- dd388cb336/protected/humhub/modules/user/models/User.php (L565)
This commit is contained in:
Carsten Brandt 2016-05-19 18:51:05 +02:00
parent dd388cb336
commit 431f21660a

View File

@ -71,11 +71,11 @@ class ContentContainerActiveRecord extends ActiveRecord
* Creates url in content container scope.
* E.g. add uguid or sguid parameter to parameters.
*
* @param type $route
* @param type $params
* @param type $ampersand
* @param string $route
* @param array $params
* @param boolean|string $scheme
*/
public function createUrl($route, $params = array(), $ampersand = '&')
public function createUrl($route = null, $params = array(), $scheme = false)
{
return "";
}