phpstan-drupal
phpstan-drupal copied to clipboard
No reporting of missing accessCheck() for \Drupal::entityQueryAggregate(entity_type_id)
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();