From 075c31dfbc919cfab0c136ed7d8c1c489314de01 Mon Sep 17 00:00:00 2001 From: Alain Belair Date: Fri, 4 Aug 2023 09:32:55 -0400 Subject: [PATCH] minor fix --- src/Component/Tabs.php | 2 +- src/View/Divider.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Component/Tabs.php b/src/Component/Tabs.php index 7a08cc5..07eb8fe 100644 --- a/src/Component/Tabs.php +++ b/src/Component/Tabs.php @@ -70,7 +70,7 @@ public function jsDisableTabName(string $name): JsRenderInterface /** * Replace Tabs menu template. - * The $view template must use Tab component template props: + * The template must use Tab component template props: * - tabs, an array of {name: '', caption: '', disabled: false...} * - currentIndex, an integer value representing the current activated tab. * - activate, a function with an index argument that activate the tab. diff --git a/src/View/Divider.php b/src/View/Divider.php index 5a79623..91c74eb 100644 --- a/src/View/Divider.php +++ b/src/View/Divider.php @@ -18,7 +18,7 @@ protected function initRenderTree(): void $this->setIdAttribute(''); } - public function beforeHtmlRender(): void + protected function beforeHtmlRender(): void { $this->appendTailwinds( [