diff --git a/src/GO/Job.php b/src/GO/Job.php index 71acc60..c18ed9a 100644 --- a/src/GO/Job.php +++ b/src/GO/Job.php @@ -499,15 +499,17 @@ private function finalise() /** * Email the output of the job, if any. * - * @return void + * @return bool */ private function emailOutput() { if (! count($this->outputTo) || ! count($this->emailTo)) { - return; + return false; } $this->sendToEmails($this->outputTo); + + return true; } /**