(Docs) Fixed preview for $prepareDataProvider (#19055)

This commit is contained in:
Alexey Rogachev
2021-12-02 20:21:34 +06:00
committed by GitHub
parent 766cf701e5
commit 6c9eb1a90c

View File

@ -46,8 +46,8 @@ class IndexAction extends Action
*/
public $prepareDataProvider;
/**
* @var callable a PHP callable that will be called to prepare query in prepareDataProvider
* Should return $query
* @var callable a PHP callable that will be called to prepare query in prepareDataProvider.
* Should return $query.
* For example:
*
* ```php