Skip to content
Snippets Groups Projects
Commit c5371c3f authored by Aaron Bauman's avatar Aaron Bauman
Browse files

Don't call ::size() on null

parent 1f110ecf
No related branches found
No related tags found
No related merge requests found
...@@ -149,8 +149,8 @@ class QueueHandler { ...@@ -149,8 +149,8 @@ class QueueHandler {
// @TODO Replace this with a better implementation when available, // @TODO Replace this with a better implementation when available,
// see https://www.drupal.org/node/2820345, https://www.drupal.org/node/2785211 // see https://www.drupal.org/node/2820345, https://www.drupal.org/node/2785211
$mapping->setLastPullTime($this->time->getRequestTime()); $mapping->setLastPullTime($this->time->getRequestTime());
return $results->size();
} }
return $results->size();
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment