From b30a860e6d8c1f87eb827aaaabfbad43813d4388 Mon Sep 17 00:00:00 2001 From: yggverse Date: Wed, 31 Jul 2024 16:52:02 +0300 Subject: [PATCH] remove extra const --- src/Entity/Browser/Menu/Help/About.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Entity/Browser/Menu/Help/About.php b/src/Entity/Browser/Menu/Help/About.php index 1c13ed31..5a005ecc 100644 --- a/src/Entity/Browser/Menu/Help/About.php +++ b/src/Entity/Browser/Menu/Help/About.php @@ -51,8 +51,6 @@ class About public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_META = 'version: %d.%d.%d'; public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_HREF = 'https://gtk.org'; - public const PHP_VERSION_GTK_EXTENSION = 'php-gtk3'; - public function __construct( Help $help ) { @@ -143,7 +141,9 @@ class About sprintf( _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_META), phpversion( - $this::PHP_VERSION_GTK_EXTENSION + basename( + $this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_HREF + ) ) ), null,