Skip to content

Commit a78b6a4

Browse files
committed
build: suppress CS0618
1 parent a957ccf commit a78b6a4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Peachpie.Runtime/PhpCallback.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ public partial interface IPhpCallable
2424
/// <summary>
2525
/// Invokes the object with given arguments.
2626
/// </summary>
27+
#pragma warning disable CS0618 // Type or member is obsolete
2728
PhpValue Invoke(Context ctx, params ReadOnlySpan<PhpValue> arguments) => Invoke(ctx, arguments.ToArray());
29+
#pragma warning restore CS0618 // Type or member is obsolete
2830

2931
/// <summary>
3032
/// Invokes the object with given arguments.

0 commit comments

Comments
 (0)