feat: list polls controller #37
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.
|