Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/SxBootstrap/View/Helper/Bootstrap/Alert.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ public function info()
}

/**
* Display an Error Alert
* Display a Danger Alert
*
* @return \SxBootstrap\View\Helper\Bootstrap\Alert
*/
public function error()
public function danger()
{
return $this->addClass('alert-error');
return $this->addClass('alert-danger');
}

/**
Expand Down
49 changes: 0 additions & 49 deletions src/SxBootstrap/View/Helper/Bootstrap/Badge.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,55 +20,6 @@
*/
class Badge extends AbstractElementHelper
{
/**
* Display an Informational Badge
*
* @return \SxBootstrap\View\Helper\Bootstrap\Badge
*/
public function info()
{
return $this->addClass('badge-info');
}

/**
* Display an Important Badge
*
* @return \SxBootstrap\View\Helper\Bootstrap\Badge
*/
public function important()
{
return $this->addClass('badge-important');
}

/**
* Display an Inverse Badge
*
* @return \SxBootstrap\View\Helper\Bootstrap\Badge
*/
public function inverse()
{
return $this->addClass('badge-inverse');
}

/**
* Display a success Badge
*
* @return \SxBootstrap\View\Helper\Bootstrap\Badge
*/
public function success()
{
return $this->addClass('badge-success');
}

/**
* Display a Warning Badge
*
* @return \SxBootstrap\View\Helper\Bootstrap\Badge
*/
public function warning()
{
return $this->addClass('badge-warning');
}

/**
* Invoke Badge
Expand Down
4 changes: 2 additions & 2 deletions src/SxBootstrap/View/Helper/Bootstrap/Well.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function __invoke($content = '')
*/
public function small()
{
$this->addClass('well-small');
$this->addClass('well-sm');

return $this;
}
Expand All @@ -50,7 +50,7 @@ public function small()
*/
public function large()
{
$this->addClass('well-large');
$this->addClass('well-lg');

return $this;
}
Expand Down