From ed8de51c83ecda971e903943a16d641b1f627c21 Mon Sep 17 00:00:00 2001 From: Tharun Budidha Date: Thu, 11 Jun 2026 19:20:14 +0530 Subject: [PATCH] fix sonar qube issues --- classes/plugininfo.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/classes/plugininfo.php b/classes/plugininfo.php index b72c89d..4c83971 100644 --- a/classes/plugininfo.php +++ b/classes/plugininfo.php @@ -80,9 +80,10 @@ public static function get_available_buttons(): array { * @return string[] */ public static function get_available_menuitems(): array { - return [ - 'tiny_fastpix/insertvideo', - ]; + // The menu item exposes the same single "Insert FastPix Video" action as + // the toolbar button, so it mirrors get_available_buttons() rather than + // duplicating the list. + return self::get_available_buttons(); } /**