// setting -- it should be more of a contextual/stack-based setting.
// This should be appropriate because queue-runners are not used with
// basic web pages -- they're used with CLI/REST/AJAX.
- $errorScope = CRM_Core_TemporaryErrorScope::useException();
$taskResult = $this->runNext();
$errorScope = NULL;
}
*
* @param bool $isOK
* TRUE if the task completed successfully.
- * @param Exception|NULL $exception
+ * @param Exception|null $exception
* If applicable, an unhandled exception that arose during execution.
*
* @return array