mirror of
https://github.com/humhub/humhub.git
synced 2025-02-24 11:14:00 +01:00
Minor php style fix
This commit is contained in:
parent
4e763b6eb0
commit
84c4eff90e
@ -42,7 +42,7 @@ class Widget extends \yii\base\Widget
|
||||
}
|
||||
|
||||
if(isset($config['render']) && $config['render'] === false) {
|
||||
return;
|
||||
return '';
|
||||
}
|
||||
|
||||
\yii\base\Event::trigger(self::className(), self::EVENT_CREATE, new WidgetCreateEvent($config));
|
||||
|
@ -8,8 +8,8 @@
|
||||
|
||||
namespace humhub\widgets;
|
||||
|
||||
use humhub\components\Widget;
|
||||
use Yii;
|
||||
use yii\base\Widget;
|
||||
|
||||
/**
|
||||
* StackWidget is a widget which can hold a set of subwidgets.
|
||||
@ -21,7 +21,7 @@ use yii\base\Widget;
|
||||
* @since 0.5
|
||||
* @author Luke
|
||||
*/
|
||||
class BaseStack extends \yii\base\Widget
|
||||
class BaseStack extends Widget
|
||||
{
|
||||
|
||||
const EVENT_INIT = 'init';
|
||||
|
Loading…
x
Reference in New Issue
Block a user