fix: api allows user to change vote when they should not be able to #438
Annotations
16 errors
run / PHPStan PHP 8.1:
src/Commands/MultipleVotesPollHandler.php#L99
Parameter #3 $options of method FoF\Polls\Commands\MultipleVotesPollHandler::validateInput() expects Flarum\Database\Eloquent\Collection, Illuminate\Database\Eloquent\Collection<FoF\Polls\PollOption> given.
|
run / PHPStan PHP 8.1
Process completed with exit code 1.
|
run / PHPStan PHP 8.3:
src/Commands/MultipleVotesPollHandler.php#L99
Parameter #3 $options of method FoF\Polls\Commands\MultipleVotesPollHandler::validateInput() expects Flarum\Database\Eloquent\Collection, Illuminate\Database\Eloquent\Collection<FoF\Polls\PollOption> given.
|
run / PHPStan PHP 8.3
Process completed with exit code 1.
|
run / PHPStan PHP 7.4
The job was canceled because "_8_3" failed.
|
run / PHPStan PHP 7.4:
src/Commands/MultipleVotesPollHandler.php#L99
Parameter #3 $options of method FoF\Polls\Commands\MultipleVotesPollHandler::validateInput() expects Flarum\Database\Eloquent\Collection, Illuminate\Database\Eloquent\Collection<FoF\Polls\PollOption> given.
|
run / PHPStan PHP 7.4
The operation was canceled.
|
run / PHPStan PHP 7.3
The job was canceled because "_8_3" failed.
|
run / PHPStan PHP 7.3:
src/Commands/MultipleVotesPollHandler.php#L99
Parameter #3 $options of method FoF\Polls\Commands\MultipleVotesPollHandler::validateInput() expects Flarum\Database\Eloquent\Collection, Illuminate\Database\Eloquent\Collection<FoF\Polls\PollOption> given.
|
run / PHPStan PHP 7.3
The operation was canceled.
|
run / PHPStan PHP 8.0
The job was canceled because "_8_3" failed.
|
run / PHPStan PHP 8.0:
src/Commands/MultipleVotesPollHandler.php#L99
Parameter #3 $options of method FoF\Polls\Commands\MultipleVotesPollHandler::validateInput() expects Flarum\Database\Eloquent\Collection, Illuminate\Database\Eloquent\Collection<FoF\Polls\PollOption> given.
|
run / PHPStan PHP 8.0
The operation was canceled.
|
run / PHPStan PHP 8.2
The job was canceled because "_8_3" failed.
|
run / PHPStan PHP 8.2:
src/Commands/MultipleVotesPollHandler.php#L99
Parameter #3 $options of method FoF\Polls\Commands\MultipleVotesPollHandler::validateInput() expects Flarum\Database\Eloquent\Collection, Illuminate\Database\Eloquent\Collection<FoF\Polls\PollOption> given.
|
run / PHPStan PHP 8.2
The operation was canceled.
|