We currently have the following code for \Drupal\search_api\Query\Query::getAbortMessage():

  public function getAbortMessage() {
    return is_bool($this->aborted) ? $this->aborted : NULL;
  }

$this->aborted can either be NULL, or TRUE or an error message (string or translatable markup). But, as you can see, instead of returning only an error message or NULL, we return only TRUE or NULL.

Comments

drunken monkey created an issue. See original summary.

drunken monkey’s picture

Status: Active » Needs review
StatusFileSize
new393 bytes
borisson_’s picture

Status: Needs review » Reviewed & tested by the community

Great catch @drunken monkey!

  • drunken monkey committed 21f5a31 on 8.x-1.x
    Issue #2946386 by drunken monkey, borisson_: Fixed typo in Query::...
drunken monkey’s picture

Status: Reviewed & tested by the community » Fixed

Thanks for reviewing! Committed.

Status: Fixed » Closed (fixed)

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