mirror of
https://github.com/yiisoft/yii2.git
synced 2026-03-12 02:09:48 +01:00
Fixes #12055: Changed boolean to bool and integer to int in phpdoc
This commit is contained in:
committed by
Alexander Makarov
parent
940f7c7cd4
commit
4aa935e69e
@@ -28,7 +28,7 @@ interface DataProviderInterface
|
||||
*
|
||||
* This method will be implicitly called by [[getModels()]] and [[getKeys()]] if it has not been called before.
|
||||
*
|
||||
* @param boolean $forcePrepare whether to force data preparation even if it has been done before.
|
||||
* @param bool $forcePrepare whether to force data preparation even if it has been done before.
|
||||
*/
|
||||
public function prepare($forcePrepare = false);
|
||||
|
||||
@@ -36,14 +36,14 @@ interface DataProviderInterface
|
||||
* Returns the number of data models in the current page.
|
||||
* This is equivalent to `count($provider->getModels())`.
|
||||
* When [[getPagination|pagination]] is false, this is the same as [[getTotalCount|totalCount]].
|
||||
* @return integer the number of data models in the current page.
|
||||
* @return int the number of data models in the current page.
|
||||
*/
|
||||
public function getCount();
|
||||
|
||||
/**
|
||||
* Returns the total number of data models.
|
||||
* When [[getPagination|pagination]] is false, this is the same as [[getCount|count]].
|
||||
* @return integer total number of possible data models.
|
||||
* @return int total number of possible data models.
|
||||
*/
|
||||
public function getTotalCount();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user