Updated: Comment #0

Problem/Motivation

\Drupal::entityQueryAggregate() typehints \Drupal\Core\Entity\Query\QueryInterface, but returns \Drupal\Core\Entity\Query\QueryAggregateInterface.

Proposed resolution

Typehint \Drupal\Core\Entity\Query\QueryAggregateInterface in \Drupal::entityQueryAggregate()

See line 382 of core/lib/Drupal.php.

Remaining tasks

User interface changes

API changes

Comments

foxtrotcharlie’s picture

Assigned: Unassigned » foxtrotcharlie
foxtrotcharlie’s picture

Status: Active » Needs review
StatusFileSize
new632 bytes
dawehner’s picture

Status: Needs review » Reviewed & tested by the community

Good catch!

webchick’s picture

Status: Reviewed & tested by the community » Fixed

Nice!

Committed and pushed to 8.x. Thanks!

  • Commit 3d856f3 on 8.x by webchick:
    Issue #2231485 by foxtrotcharlie | tstoeckler: Wrong type-hint for \...

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.