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:
parent
140752b5ac
commit
c7fcbd96dc
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user