Skip to content

Commit

Permalink
fix: fix class visible and typo error
Browse files Browse the repository at this point in the history
  • Loading branch information
ketronix-dev committed Mar 18, 2024
1 parent 6e144e2 commit ded7191
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Methods.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

namespace Nure.NET;

public class Nure
public static class Nure
{
public static List<Auditory>? GetAuditories()
{
Expand Down
4 changes: 2 additions & 2 deletions Parsers/NureParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ public class NureParser
{
private static string GetType(int? id)
{
if (id == 10 || id == 12)
if (id is 10 or 12)
{
return "Пз";
}
else if (id == 20 | id == 21 || id == 22 || id == 23 || id == 24)
else if (id == 20 || id == 21 || id == 22 || id == 23 || id == 24)
{
return "Лб";
}
Expand Down

0 comments on commit ded7191

Please sign in to comment.