From 2e885dd54454d9293cb4134890f90774f84cf0dd Mon Sep 17 00:00:00 2001 From: Simon Karlen Date: Tue, 3 Aug 2021 10:29:01 +0200 Subject: [PATCH] changed bs4 to bs5 in doc comments --- src/ActiveForm.php | 6 +++--- src/Breadcrumbs.php | 2 +- src/LinkPager.php | 2 +- src/Nav.php | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/ActiveForm.php b/src/ActiveForm.php index c651241..c97e315 100644 --- a/src/ActiveForm.php +++ b/src/ActiveForm.php @@ -7,9 +7,9 @@ namespace yii\bootstrap5; use yii\base\InvalidConfigException; /** - * A Bootstrap 4 enhanced version of [[\yii\widgets\ActiveForm]]. + * A Bootstrap 5 enhanced version of [[\yii\widgets\ActiveForm]]. * - * This class mainly adds the [[layout]] property to choose a Bootstrap 4 form layout. + * This class mainly adds the [[layout]] property to choose a Bootstrap 5 form layout. * So for example to render a horizontal form you would: * * ```php @@ -91,7 +91,7 @@ class ActiveForm extends \yii\widgets\ActiveForm * By choosing a layout, an appropriate default field configuration is applied. This will * render the form fields with slightly different markup for each layout. You can * override these defaults through [[fieldConfig]]. - * @see ActiveField for details on Bootstrap 4 field configuration + * @see ActiveField for details on Bootstrap 5 field configuration */ public string $layout = self::LAYOUT_DEFAULT; /** diff --git a/src/Breadcrumbs.php b/src/Breadcrumbs.php index c84d5a2..85fd3e0 100644 --- a/src/Breadcrumbs.php +++ b/src/Breadcrumbs.php @@ -13,7 +13,7 @@ use Yii; use yii\helpers\ArrayHelper; /** - * Breadcrumbs represents a bootstrap 4 version of [[\yii\widgets\Breadcrumbs]]. It displays + * Breadcrumbs represents a Bootstrap 5 version of [[\yii\widgets\Breadcrumbs]]. It displays * a list of links indicating the position of the current page in the whole site hierarchy. * * To use Breadcrumbs, you need to configure its [[links]] property, which specifies the links to be displayed. For example, diff --git a/src/LinkPager.php b/src/LinkPager.php index a810ad0..6de5deb 100644 --- a/src/LinkPager.php +++ b/src/LinkPager.php @@ -9,7 +9,7 @@ use yii\data\Pagination; use yii\helpers\ArrayHelper; /** - * LinkPager represents a bootstrap 4 version of [[\yii\widgets\LinkPager]]. It displays a list of hyperlinks + * LinkPager represents a Bootstrap 5 version of [[\yii\widgets\LinkPager]]. It displays a list of hyperlinks * that lead to different pages of target. * * LinkPager works with a [[\yii\widget\Pagination]] object which specifies the total number diff --git a/src/Nav.php b/src/Nav.php index bd152d7..c1b109a 100644 --- a/src/Nav.php +++ b/src/Nav.php @@ -40,7 +40,7 @@ use Yii; * ]); * ``` * - * Note: Multilevel dropdowns beyond Level 1 are not supported in Bootstrap 4. + * Note: Multilevel dropdowns beyond Level 1 are not supported in Bootstrap 5. * * @see https://getbootstrap.com/docs/5.0/components/navs/ * @see https://getbootstrap.com/docs/5.0/components/dropdowns/