mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-03 13:58:55 +08:00
Fix returning type of yii\base\Widget::run() (#19378)
This commit is contained in:
@ -217,7 +217,8 @@ class Widget extends Component implements ViewContextInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Executes the widget.
|
* Executes the widget.
|
||||||
* @return string the result of widget execution to be outputted.
|
*
|
||||||
|
* @return string|void the rendering result may be directly "echoed" or returned as a string
|
||||||
*/
|
*/
|
||||||
public function run()
|
public function run()
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user