• Модуль: tasks
  • Путь к файлу: ~/bitrix/modules/tasks/lib/rest/controllers/task/checklist.php
  • Класс: Bitrix\Tasks\Rest\Controllers\Task\Checklist
  • Вызов: Checklist::getReturn
private function getReturn(Result $result)
{
	if ($result->isSuccess())
	{
		return $this->getReturnValue($result);
	}

	if ($errors = $result->getErrors())
	{
		$this->errorCollection[] = new Error($errors->getMessages()[0]);
	}

	return null;
}