Skip to content

feat: list polls controller #37

feat: list polls controller

feat: list polls controller #37

Triggered via push January 30, 2024 14:18
Status Failure
Total duration 1m 57s
Artifacts

backend.yml

on: push
Matrix: run / phpstan
Matrix: run / test
Fit to window
Zoom out
Zoom in

Annotations

17 errors
run / PHPStan PHP 8.1: src/Api/Controllers/ListPollsController.php#L68
Method FoF\Polls\Api\Controllers\ListPollsController::data() should return Flarum\Database\Eloquent\Collection but returns Illuminate\Database\Eloquent\Collection<FoF\Polls\Poll>.
run / PHPStan PHP 8.1
Process completed with exit code 1.
run / PHPStan PHP 8.2
The job was canceled because "_8_1" failed.
run / PHPStan PHP 8.2: src/Api/Controllers/ListPollsController.php#L68
Method FoF\Polls\Api\Controllers\ListPollsController::data() should return Flarum\Database\Eloquent\Collection but returns Illuminate\Database\Eloquent\Collection<FoF\Polls\Poll>.
run / PHPStan PHP 8.2
The operation was canceled.
run / PHPStan PHP 8.0
The job was canceled because "_8_1" failed.
run / PHPStan PHP 8.0: src/Api/Controllers/ListPollsController.php#L68
Method FoF\Polls\Api\Controllers\ListPollsController::data() should return Flarum\Database\Eloquent\Collection but returns Illuminate\Database\Eloquent\Collection<FoF\Polls\Poll>.
run / PHPStan PHP 8.0
The operation was canceled.
run / PHPStan PHP 7.4
The job was canceled because "_8_1" failed.
run / PHPStan PHP 7.4: src/Api/Controllers/ListPollsController.php#L68
Method FoF\Polls\Api\Controllers\ListPollsController::data() should return Flarum\Database\Eloquent\Collection but returns Illuminate\Database\Eloquent\Collection<FoF\Polls\Poll>.
run / PHPStan PHP 7.4
The operation was canceled.
run / PHPStan PHP 7.3
The job was canceled because "_8_1" failed.
run / PHPStan PHP 7.3: src/Api/Controllers/ListPollsController.php#L68
Method FoF\Polls\Api\Controllers\ListPollsController::data() should return Flarum\Database\Eloquent\Collection but returns Illuminate\Database\Eloquent\Collection<FoF\Polls\Poll>.
run / PHPStan PHP 7.3
The operation was canceled.
run / PHPStan PHP 8.3
The job was canceled because "_8_1" failed.
run / PHPStan PHP 8.3: src/Api/Controllers/ListPollsController.php#L68
Method FoF\Polls\Api\Controllers\ListPollsController::data() should return Flarum\Database\Eloquent\Collection but returns Illuminate\Database\Eloquent\Collection<FoF\Polls\Poll>.
run / PHPStan PHP 8.3
The operation was canceled.