\Drupal\facets\QueryType\QueryTypePluginBase::$results is documented as an array of result objects, but it's actually an array of arrays,

it's documentation should be array[], it's an array of count and filter and should be documented like that.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

borisson_ created an issue. See original summary.

borisson_’s picture

Crediting claudiu for finding and reporting this issue in slack, and figuring out what is should be.

ioana apetri’s picture

Status: Active » Needs review
FileSize
456 bytes

Here's the patch with @var documentation changed.
Please review. Thanks:)

borisson_’s picture

Status: Needs review » Fixed

Committed and pushed, thanks!

  • borisson_ committed 7afa25d on 8.x-1.x authored by yo30
    Issue #2931481 by yo30, claudiu.cristea: \Drupal\facets\QueryType\...

Status: Fixed » Closed (fixed)

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