From 7332cc2cba32ab00d752b6a465aa0b366858d6c6 Mon Sep 17 00:00:00 2001 From: Alexander Gubarev Date: Wed, 22 Sep 2021 20:13:09 +0300 Subject: [PATCH] Fix an invalid phpDoc annotation of `yii\data\DataProviderInterface::getSort()`. (#18897) --- framework/data/DataProviderInterface.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/data/DataProviderInterface.php b/framework/data/DataProviderInterface.php index 71ed1fe..0260c38 100644 --- a/framework/data/DataProviderInterface.php +++ b/framework/data/DataProviderInterface.php @@ -61,7 +61,7 @@ interface DataProviderInterface public function getKeys(); /** - * @return Sort the sorting object. If this is false, it means the sorting is disabled. + * @return Sort|false the sorting object. If this is false, it means the sorting is disabled. */ public function getSort();