Skip to content

Commit f20a320

Browse files
committed
include Transmission interface in NIP-01
1 parent 9f909e0 commit f20a320

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.1.3
1+
2.2.0

src/Transmission.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?php
2+
3+
namespace nostriphant\NIP01;
4+
5+
interface Transmission {
6+
7+
public function __invoke(Message $message) : bool;
8+
9+
}

0 commit comments

Comments
 (0)