A free open source IT asset/license management system
Fix code style: Remove whitespace in end block comments
Lukas Kraicfb18c1a0bea3
diff --git a/app/Http/Controllers/ViewAssetsController.php b/app/Http/Controllers/ViewAssetsController.phpindex d73068afe7..ee4916f0a7 100755--- a/app/Http/Controllers/ViewAssetsController.php+++ b/app/Http/Controllers/ViewAssetsController.php@@ -41,9 +41,9 @@ class ViewAssetsController extends Controllerif ($field->display_in_user_view == '1') {$fieldArray[$field->db_column] = $field->name;}- }//end foreach+ }//endforeach}- }//end foreach+ }//endforeachreturn array_unique($fieldArray);}@@ -80,7 +80,7 @@ class ViewAssetsController extends Controller} else {// User has no subordinates, so they only see themselves$subordinates = collect([$authUser]);- }//end if+ }//endif}// If the user has subordinates and a user_id is provided in the requestdiff --git a/app/Models/User.php b/app/Models/User.phpindex affd76a729..825fba640b 100644--- a/app/Models/User.php+++ b/app/Models/User.php@@ -1000,7 +1000,7 @@ class User extends SnipeModel implements AuthenticatableContract, AuthorizableCo// Recursive call for this subordinate's subordinates$this->fetchSubordinatesRecursive($directSubordinate, $subs);}- }//end foreach+ }//endforeach}/**