mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Removed extra else to make Codacy happy
This commit is contained in:
parent
3c167c9d33
commit
71b668e1a3
|
@ -39,6 +39,8 @@ class ActionlogPresenter extends Presenter
|
||||||
|
|
||||||
public function icon()
|
public function icon()
|
||||||
{
|
{
|
||||||
|
$itemicon = 'fa fa-paperclip';
|
||||||
|
|
||||||
if ($this->itemType() == "asset") {
|
if ($this->itemType() == "asset") {
|
||||||
$itemicon = 'fa fa-barcode';
|
$itemicon = 'fa fa-barcode';
|
||||||
} elseif ($this->itemType() == "accessory") {
|
} elseif ($this->itemType() == "accessory") {
|
||||||
|
@ -49,9 +51,7 @@ class ActionlogPresenter extends Presenter
|
||||||
$itemicon = 'fa fa-floppy-o';
|
$itemicon = 'fa fa-floppy-o';
|
||||||
} elseif ($this->itemType()=="component") {
|
} elseif ($this->itemType()=="component") {
|
||||||
$itemicon = 'fa fa-hdd-o';
|
$itemicon = 'fa fa-hdd-o';
|
||||||
} else {
|
}
|
||||||
$itemicon = 'fa fa-paperclip';
|
|
||||||
}
|
|
||||||
|
|
||||||
return $itemicon;
|
return $itemicon;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue