From 1a0349f7b286d658aebe313a03b45a9c778cf905 Mon Sep 17 00:00:00 2001 From: Ben Claar Date: Thu, 25 Oct 2018 16:17:51 -0500 Subject: [PATCH] Fix TwitterBootstrap4 blockHelp --- src/Former/Form/Group.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Former/Form/Group.php b/src/Former/Form/Group.php index 0217ec87..17403d51 100644 --- a/src/Former/Form/Group.php +++ b/src/Former/Form/Group.php @@ -294,7 +294,10 @@ public function inlineHelp($help, $attributes = array()) public function blockHelp($help, $attributes = array()) { // Reserved method - if ($this->app['former.framework']->isnt('TwitterBootstrap') && $this->app['former.framework']->isnt('TwitterBootstrap3')) { + if ($this->app['former.framework']->isnt('TwitterBootstrap') && + $this->app['former.framework']->isnt('TwitterBootstrap3') && + $this->app['former.framework']->isnt('TwitterBootstrap4') + ) { throw new BadMethodCallException('This method is only available on the Bootstrap framework'); }