From c7fcbd96dc6ce646e1df2ec3e87f4e60b03f306f Mon Sep 17 00:00:00 2001 From: Niklas Keller Date: Fri, 9 Jun 2017 17:22:11 +0200 Subject: [PATCH] Make NullCancellationToken final --- lib/NullCancellationToken.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/NullCancellationToken.php b/lib/NullCancellationToken.php index 170ec125..c8f242ae 100644 --- a/lib/NullCancellationToken.php +++ b/lib/NullCancellationToken.php @@ -25,7 +25,7 @@ * * instead. */ -class NullCancellationToken implements CancellationToken { +final class NullCancellationToken implements CancellationToken { /** @inheritdoc */ public function subscribe(callable $callback): string { return "null-token";