From 4d10218dbe3304c90bd9c97879b461b8b9d576c8 Mon Sep 17 00:00:00 2001 From: mscherer Date: Tue, 12 Dec 2023 02:17:30 +0100 Subject: [PATCH] Rename traits. --- src/View/Helper/FormHelper.php | 2 +- src/View/Helper/{FormTrait.php => FormHelperTrait.php} | 2 +- src/View/Helper/HtmlHelper.php | 2 +- src/View/Helper/{HtmlTrait.php => HtmlHelperTrait.php} | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/View/Helper/{FormTrait.php => FormHelperTrait.php} (98%) rename src/View/Helper/{HtmlTrait.php => HtmlHelperTrait.php} (97%) diff --git a/src/View/Helper/FormHelper.php b/src/View/Helper/FormHelper.php index 4f203cf..d50887d 100644 --- a/src/View/Helper/FormHelper.php +++ b/src/View/Helper/FormHelper.php @@ -6,6 +6,6 @@ class FormHelper extends CoreFormHelper { - use FormTrait; + use FormHelperTrait; } diff --git a/src/View/Helper/FormTrait.php b/src/View/Helper/FormHelperTrait.php similarity index 98% rename from src/View/Helper/FormTrait.php rename to src/View/Helper/FormHelperTrait.php index efd9e10..ade8e19 100644 --- a/src/View/Helper/FormTrait.php +++ b/src/View/Helper/FormHelperTrait.php @@ -4,7 +4,7 @@ use Templating\View\HtmlStringable; -trait FormTrait { +trait FormHelperTrait { /** * @param \Templating\View\HtmlStringable|string $title diff --git a/src/View/Helper/HtmlHelper.php b/src/View/Helper/HtmlHelper.php index 72ff595..bee4af2 100644 --- a/src/View/Helper/HtmlHelper.php +++ b/src/View/Helper/HtmlHelper.php @@ -6,6 +6,6 @@ class HtmlHelper extends CoreHtmlHelper { - use HtmlTrait; + use HtmlHelperTrait; } diff --git a/src/View/Helper/HtmlTrait.php b/src/View/Helper/HtmlHelperTrait.php similarity index 97% rename from src/View/Helper/HtmlTrait.php rename to src/View/Helper/HtmlHelperTrait.php index e16aacc..66a059a 100644 --- a/src/View/Helper/HtmlTrait.php +++ b/src/View/Helper/HtmlHelperTrait.php @@ -4,7 +4,7 @@ use Templating\View\HtmlStringable; -trait HtmlTrait { +trait HtmlHelperTrait { /** * @param \Templating\View\HtmlStringable|array|string $title