From ee4371d9163f992f60e09c7e4ac6cf8cd1d3c5eb Mon Sep 17 00:00:00 2001 From: peptiderepo Date: Sun, 14 Jun 2026 07:39:50 +0000 Subject: [PATCH] fix: expand $nonce_cb docblock to satisfy WordPress-Docs short-description sniff MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The single-line /** @var ... */ on $nonce_cb was missing a short description as its first content line (PHPCS WordPress-Docs sniff). Expanded to a proper multi-line docblock with summary on the first line and @var on a separate line. Swept class-prv-settings-controller.php, class-prv-settings-page.php, and class-prv-settings-renderer.php — no other instances found. Agent-Session: pr-vision admin v0.2.0 docblocks --- includes/core/class-prv-settings-controller.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/includes/core/class-prv-settings-controller.php b/includes/core/class-prv-settings-controller.php index 8aac4e9..7a43f8f 100644 --- a/includes/core/class-prv-settings-controller.php +++ b/includes/core/class-prv-settings-controller.php @@ -33,7 +33,11 @@ class PRV_Settings_Controller { /** Admin menu slug (shared constant with PRV_Settings_Page). */ const MENU_SLUG = 'pr-vision-settings'; - /** @var callable(): void Nonce-verification callback supplied by PRV_Settings_Page. */ + /** + * Nonce-verification callback supplied by PRV_Settings_Page. + * + * @var callable(): void + */ private $nonce_cb; /**