Right now both VoteStorage and VoteResultStorage use \Drupal::entityQuery() to calculate values, instead of using the injected entity query inherited from the parent storage class.
Fix this, and remove the phpstan ignore cases for these uses from phpstan.neon.
Issue fork votingapi-3511838
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
tr commentedAlso type hint everything in the storage classes.
Comment #4
tr commentedComment #6
tr commented