Fix #20671: Fix PHPDoc annotations in yii\base, yii\console, yii\web and yii\widgets namespaces

This commit is contained in:
Maksim Spirkov
2025-11-02 11:35:27 +03:00
committed by GitHub
parent d1556e323e
commit 1fdcebaeec
8 changed files with 14 additions and 13 deletions

View File

@@ -51,7 +51,7 @@ abstract class BaseListView extends Widget
*/
public $sorter = [];
/**
* @var string the HTML content to be displayed as the summary of the list view.
* @var string|null the HTML content to be displayed as the summary of the list view.
* If you do not want to show the summary, you may set it with an empty string.
*
* The following tokens will be replaced with the corresponding values:
@@ -77,7 +77,7 @@ abstract class BaseListView extends Widget
*/
public $showOnEmpty = false;
/**
* @var string|false the HTML content to be displayed when [[dataProvider]] does not have any data.
* @var string|false|null the HTML content to be displayed when [[dataProvider]] does not have any data.
* When this is set to `false` no extra HTML content will be generated.
* The default value is the text "No results found." which will be translated to the current application language.
* @see showOnEmpty