id == null) { (new Notification)->mark_all_as_read(); return; } $notif->mark_as_read(); } }