Use injected entity query in storage classes

Created on 9 March 2025, about 1 month ago

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.

πŸ“Œ Task
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States tr Cascadia

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024