From 7a3356c7f298fa008e7ae1e0eded4d9226bffa82 Mon Sep 17 00:00:00 2001 From: jrfnl Date: Sat, 4 May 2019 02:17:59 +0200 Subject: [PATCH] PHPCS: whitelist a used parameter --- admin/comment-parent.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/comment-parent.php b/admin/comment-parent.php index 6c7ce0e..93a1d70 100644 --- a/admin/comment-parent.php +++ b/admin/comment-parent.php @@ -24,7 +24,7 @@ public function __construct() { * * @param object $comment The comment object. */ - public function comment_parent_box( $comment ) { + public function comment_parent_box( $comment ) { // phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.Found -- Param used in included file. require_once \YST_COMMENT_HACKS_PATH . 'admin/views/comment-parent-box.php'; }