From 8655b69c52e31a41eed70407e149adf25c6474e2 Mon Sep 17 00:00:00 2001 From: Enej Bajgoric Date: Fri, 26 Jul 2024 11:30:16 -0700 Subject: [PATCH] Add never return type --- projects/plugins/jetpack/modules/comments/comments.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/projects/plugins/jetpack/modules/comments/comments.php b/projects/plugins/jetpack/modules/comments/comments.php index 8e72b523a42e1..8e66ac9b2d1f5 100644 --- a/projects/plugins/jetpack/modules/comments/comments.php +++ b/projects/plugins/jetpack/modules/comments/comments.php @@ -663,6 +663,8 @@ public function pre_comment_on_post() { * This function exists because when we submit the form via the jetpack.wordpress.com iframe * in Chrome the request comes in to jetpack but for some reason the request doesn't hace access to cookies yet. * By submitting the form again locally with the same data the process works as expected. + * + * @return never */ public function retry_submit_comment_form_locally() { // We are not doing any valiodation here since all the validation will be done again by pre_comment_on_post().