Skip to content

A free open source IT asset/license management system

edits & typo fixes

akemidx94afe2bc6ae8
diff --git a/app/Models/Company.php b/app/Models/Company.php
index 273a02ad0d..413011b9a7 100644
--- a/app/Models/Company.php
+++ b/app/Models/Company.php
@@ -74,8 +74,8 @@ final class Company extends SnipeModel
}
/**
- * Adding scope to table queires, where only authorized users will be able to see a company's ID value
- *
+ * Scoping table queries, determining if a logged in user is part of a company, and only allows
+ * that user to see items associated with that company
*/
private static function scopeCompanyablesDirectly($query, $column = 'company_id', $table_name = null)
{