phpstan-drupal icon indicating copy to clipboard operation
phpstan-drupal copied to clipboard

No reporting of missing accessCheck() for \Drupal::entityQueryAggregate(entity_type_id)

Open SOMERSOFTAndrewCrook opened this issue 2 years ago • 0 comments

Bug report

This is very similar to when \Drupal::entityQuery() is checked for accessCheck()

Code snippet that reproduces the problem

$nodes = \Drupal::entityQueryAggregate('node')->execute();

SOMERSOFTAndrewCrook avatar Nov 30 '23 15:11 SOMERSOFTAndrewCrook