3
0
mirror of https://github.com/snipe/snipe-it.git synced 2026-03-29 20:04:21 +00:00

Fix code style: Add required whitespace in end block comments

This commit is contained in:
Lukas Kraic
2025-06-05 09:23:58 +02:00
parent fb18c1a0be
commit 61d3e2fb49
2 changed files with 4 additions and 4 deletions

View File

@ -41,9 +41,9 @@ class ViewAssetsController extends Controller
if ($field->display_in_user_view == '1') {
$fieldArray[$field->db_column] = $field->name;
}
}//endforeach
}//end foreach
}
}//endforeach
}//end foreach
return array_unique($fieldArray);
}
@ -80,7 +80,7 @@ class ViewAssetsController extends Controller
} else {
// User has no subordinates, so they only see themselves
$subordinates = collect([$authUser]);
}//endif
}//end if
}
// If the user has subordinates and a user_id is provided in the request