Fix #218: Add ability to set page size #806
Annotations
6 errors
Static analysis.:
src/BaseListView.php#L52
src/BaseListView.php:52:18: MissingClassConstType: Class constant "Yiisoft\Yii\DataView\BaseListView::PAGE_SIZE_FIXED" should have a declared type. (see https://psalm.dev/359)
|
Static analysis.:
src/BaseListView.php#L57
src/BaseListView.php:57:18: MissingClassConstType: Class constant "Yiisoft\Yii\DataView\BaseListView::PAGE_SIZE_ANY" should have a declared type. (see https://psalm.dev/359)
|
Static analysis.:
src/BaseListView.php#L443
src/BaseListView.php:443:43: MixedArgumentTypeCoercion: Argument 2 of implode expects array<array-key, null|object{__tostring()}|scalar>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
|
Static analysis.:
src/BasePagination.php#L207
src/BasePagination.php:207:38: MixedArgumentTypeCoercion: Argument 1 of array_combine expects array<array-key, array-key>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
|
Static analysis.:
src/BasePagination.php#L209
src/BasePagination.php:209:31: MixedArgumentTypeCoercion: Argument 1 of Yiisoft\Html\Tag\Select::optionsData expects array<array-key, array<array-key, string>|string>, but parent type array<array-key, mixed> provided (see https://psalm.dev/194)
|
Static analysis.
Process completed with exit code 2.
|
Loading