Skip to content

Commit

Permalink
Apply fixes from StyleCI (#71)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaystrobach authored Aug 9, 2019
1 parent 9bf0f2a commit 65491fe
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Classes/ExtMgm/Statefield.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected function getFlashMessageHtml($messageBody = '', $messageTitle = '', $s
$alertType = 'warning';
if ($severity === 1) {
$alertType = 'danger';
} else if ($severity === 0) {
} elseif ($severity === 0) {
$alertType = 'success';
}
// Create required HTML
Expand All @@ -119,7 +119,7 @@ protected function getFlashMessageHtml($messageBody = '', $messageTitle = '', $s
$html .= ' <i class="fa fa-circle fa-stack-2x"></i>' . LF;
if ($alertType === 'danger') {
$html .= ' <i class="fa fa-times fa-stack-1x"></i>' . LF;
} else if ($severity === 'success') {
} elseif ($severity === 'success') {
$html .= ' <i class="fa fa-check fa-stack-1x"></i>' . LF;
}
$html .= ' </span>' . LF;
Expand Down Expand Up @@ -149,5 +149,4 @@ protected function getFlashMessageHtml($messageBody = '', $messageTitle = '', $s
}
return $html;
}

}

0 comments on commit 65491fe

Please sign in to comment.