Skip to content
This repository has been archived by the owner on Feb 26, 2018. It is now read-only.

Commit

Permalink
Changing type() call to getAttribute('type').
Browse files Browse the repository at this point in the history
  • Loading branch information
jesseleite committed Jun 11, 2015
1 parent 0664744 commit a39cc97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/AdamWathan/BootForms/Elements/CheckGroup.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@ public function inline()
{
$this->inline = true;

$class = $this->control()->type() . '-inline'; // Requires base form PR #49 merge.
$this->label->removeClass('control-label')->addClass($class); // Requires base form PR #49 merge.
$class = $this->control()->getAttribute('type') . '-inline';
$this->label->removeClass('control-label')->addClass($class);

return $this;
}
Expand Down

0 comments on commit a39cc97

Please sign in to comment.