A free open source IT asset/license management system
Add docblock
Marcus Moore9e6e2de71eae
diff --git a/app/Models/Company.php b/app/Models/Company.phpindex c3a2fdae7f..60a8022ed7 100644--- a/app/Models/Company.php+++ b/app/Models/Company.php@@ -113,6 +113,14 @@ final class Company extends SnipeModel}}+ /**+ * Get the company id for the current user taking into+ * account the full multiple company support setting+ * and if the current user is a super user.+ *+ * @param $unescaped_input+ * @return int|mixed|string|null+ */public static function getIdForCurrentUser($unescaped_input){if (! static::isFullMultipleCompanySupportEnabled()) {