Skip to content

Commit

Permalink
Fix TwitterBootstrap4 blockHelp
Browse files Browse the repository at this point in the history
  • Loading branch information
claar committed Oct 25, 2018
1 parent 9509a86 commit 1a0349f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Former/Form/Group.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}

Expand Down

0 comments on commit 1a0349f

Please sign in to comment.