Skip to content

A free open source IT asset/license management system

Added comments

snipe02dd0669dc69
diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.php
index 6aa484a012..0bd49bc292 100644
--- a/app/Helpers/Helper.php
+++ b/app/Helpers/Helper.php
@@ -1148,6 +1148,16 @@ class Helper
}
+
+ /**
+ * Generic helper (largely used by livewire right now) that returns the font-awesome icon
+ * for the object type.
+ *
+ * @author A. Gianotto <[email protected]>
+ * @since 6.1.0
+ *
+ * @return string
+ */
public static function iconTypeByItem($item) {
switch ($item) {