Skip to content

Commit 114e4dd

Browse files
committed
Added suggested change from @Badyto
1 parent 322a103 commit 114e4dd

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/GO/Job.php

+4-2
Original file line numberDiff line numberDiff line change
@@ -499,15 +499,17 @@ private function finalise()
499499
/**
500500
* Email the output of the job, if any.
501501
*
502-
* @return void
502+
* @return bool
503503
*/
504504
private function emailOutput()
505505
{
506506
if (! count($this->outputTo) || ! count($this->emailTo)) {
507-
return;
507+
return false;
508508
}
509509

510510
$this->sendToEmails($this->outputTo);
511+
512+
return true;
511513
}
512514

513515
/**

0 commit comments

Comments
 (0)