Update NotificationTransformer, fixes #2389

pull/2391/head
Daniel Supernault 5 years ago
parent 96c1b4da1c
commit c4506ebd71
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -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;
}
}

Loading…
Cancel
Save