Skip to content

Method Bavix\LaravelClickHouse\Database\Query\Builder::getCountForPagination does not exist #15

Method Bavix\LaravelClickHouse\Database\Query\Builder::getCountForPagination does not exist

Method Bavix\LaravelClickHouse\Database\Query\Builder::getCountForPagination does not exist #15

Status Failure
Total duration 37s
Artifacts

phpstan.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
phpstan: src/Database/Eloquent/Builder.php#L1
Ignored error pattern #^Call to an undefined method Bavix\\LaravelClickHouse\\Database\\Eloquent\\Builder\:\:forPage\(\)\.$# in path /home/runner/work/laravel-clickhouse/laravel-clickhouse/src/Database/Eloquent/Builder.php was not matched in reported errors.
phpstan: src/Database/Eloquent/Builder.php#L508
Method Bavix\LaravelClickHouse\Database\Query\Builder::get() invoked with 1 parameter, 0 required.
phpstan: src/Database/Query/Builder.php#L65
Ignored error pattern #^Cannot cast mixed to int\.$# in path /home/runner/work/laravel-clickhouse/laravel-clickhouse/src/Database/Query/Builder.php is expected to occur 1 time, but occurred 2 times.
phpstan: src/Database/Query/Builder.php#L129
Method Bavix\LaravelClickHouse\Database\Query\Builder::getCountForPagination() has no return type specified.
phpstan: src/Database/Query/Builder.php#L131
Cannot cast mixed to int.
phpstan: src/Database/Query/Builder.php#L133
Parameter #1 $table of method Tinderbox\ClickhouseBuilder\Integrations\Laravel\Connection::table() expects Closure|string|Tinderbox\ClickhouseBuilder\Integrations\Laravel\Builder, static(Bavix\LaravelClickHouse\Database\Query\Builder) given.
phpstan: src/Database/Query/Builder.php#L149
Method Bavix\LaravelClickHouse\Database\Query\Builder::forPage() should return $this(Bavix\LaravelClickHouse\Database\Query\Builder) but returns static(Bavix\LaravelClickHouse\Database\Query\Builder).
phpstan
Process completed with exit code 1.