Update NotificationTransformer, fixes #2389

This commit is contained in:
Daniel Supernault 2020-08-24 18:53:37 -06:00
parent 96c1b4da1c
commit c4506ebd71
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7
1 changed files with 2 additions and 2 deletions

View File

@ -37,10 +37,10 @@ class NotificationTransformer extends Fractal\TransformerAbstract
if($status) {
return $this->item($status, new StatusTransformer());
} else {
return $this->collection([], new StatusTransformer());
return;
}
} else {
return $this->collection([], new StatusTransformer());
return;
}
}