Fix Notifications
Some checks failed
Push image to registry / build-image (push) Failing after 4m19s
Some checks failed
Push image to registry / build-image (push) Failing after 4m19s
This commit is contained in:
@ -15,7 +15,7 @@ abstract class Notification {
|
||||
|
||||
public function __construct(int $jobId, NotificationBody $body = null, bool $isError = false) {
|
||||
$this->job = Job::find($jobId);
|
||||
if (!isNull($body)) {
|
||||
if ($body !== null) {
|
||||
$this->body = $body;
|
||||
}
|
||||
$this->isError = $isError;
|
||||
|
Reference in New Issue
Block a user