Skip to content

Commit dd3f4f3

Browse files
remove unnecessary nullable types
1 parent 8cb6a1b commit dd3f4f3

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

MethodSystem/Methods/PlayerDataMethods/ClearPlayerDataMethod.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace SER.MethodSystem.Methods.PlayerDataMethods;
77

88
public class ClearPlayerDataMethod : SynchronousMethod
99
{
10-
public override string? Description => "Clears data associated with specified players";
10+
public override string Description => "Clears data associated with specified players";
1111

1212
public override Argument[] ExpectedArguments =>
1313
[

TokenSystem/Tokens/ExpressionTokens/LiteralVariableExpressionToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@ protected override IParseResult InternalParse(BaseToken[] tokens)
2222

2323
public override TryGet<Value> Value() => _varToken.Value.Value();
2424

25-
public override Type[]? PossibleValueTypes => [typeof(LiteralValue)];
25+
public override Type[] PossibleValueTypes => [typeof(LiteralValue)];
2626
}

TokenSystem/Tokens/ParenthesesToken.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ public TryGet<Value> Value()
7373
return literalValue;
7474
}
7575

76-
public Type[]? PossibleValueTypes => [typeof(LiteralValue)];
76+
public Type[] PossibleValueTypes => [typeof(LiteralValue)];
7777
public bool IsConstant => false;
7878
}

0 commit comments

Comments
 (0)