1
0
mirror of https://github.com/danog/amp.git synced 2024-11-26 20:15:00 +01:00

Make NullCancellationToken final

This commit is contained in:
Niklas Keller 2017-06-09 17:22:11 +02:00
parent 140752b5ac
commit c7fcbd96dc

View File

@ -25,7 +25,7 @@ namespace Amp;
*
* instead.
*/
class NullCancellationToken implements CancellationToken {
final class NullCancellationToken implements CancellationToken {
/** @inheritdoc */
public function subscribe(callable $callback): string {
return "null-token";