validate([ 'body' => 'required|string|max:255', ]); $issue->comments()->create([ 'body' => $newComment['body'], 'creator_id' => auth()->id(), ]); flash(__('comment.created'), 'success'); return back(); } }