Browse Source

remove extra const

PHP-GTK3
yggverse 4 months ago
parent
commit
b30a860e6d
  1. 6
      src/Entity/Browser/Menu/Help/About.php

6
src/Entity/Browser/Menu/Help/About.php

@ -51,8 +51,6 @@ class About
public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_META = '<span size="small">version: %d.%d.%d</span>'; public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_META = '<span size="small">version: %d.%d.%d</span>';
public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_HREF = 'https://gtk.org'; public const DIALOG_FORMAT_SECONDARY_MARKUP_LIB_GTK_HREF = 'https://gtk.org';
public const PHP_VERSION_GTK_EXTENSION = 'php-gtk3';
public function __construct( public function __construct(
Help $help Help $help
) { ) {
@ -143,7 +141,9 @@ class About
sprintf( sprintf(
_($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_META), _($this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_META),
phpversion( phpversion(
$this::PHP_VERSION_GTK_EXTENSION basename(
$this::DIALOG_FORMAT_SECONDARY_MARKUP_PHP_GTK_HREF
)
) )
), ),
null, null,

Loading…
Cancel
Save