From 7f1bded9b9cb1319aa0ba66d8558be0f476921f7 Mon Sep 17 00:00:00 2001 From: yggverse Date: Thu, 1 Aug 2024 17:19:03 +0300 Subject: [PATCH] define default wrap width attribute --- src/Interface/Model/Gtk/Pango/Markup.php | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/src/Interface/Model/Gtk/Pango/Markup.php b/src/Interface/Model/Gtk/Pango/Markup.php index bb508a0d..7bfbf938 100644 --- a/src/Interface/Model/Gtk/Pango/Markup.php +++ b/src/Interface/Model/Gtk/Pango/Markup.php @@ -30,15 +30,18 @@ interface Markup ): string; public static function h1( - string $value + string $value, + int $width = self::WRAP_WIDTH ): string; public static function h2( - string $value + string $value, + int $width = self::WRAP_WIDTH ): string; public static function h3( - string $value + string $value, + int $width = self::WRAP_WIDTH ): string; public static function link( @@ -48,15 +51,18 @@ interface Markup ): string; public static function list( - string $value + string $value, + int $width = self::WRAP_WIDTH ): string; public static function quote( - string $value + string $value, + int $width = self::WRAP_WIDTH ): string; public static function text( - string $value + string $value, + int $width = self::WRAP_WIDTH ): string; public static function pre(