This commit is contained in:
2020-10-09 18:43:35 +08:00
parent 3722595c36
commit 34d25a173e
3 changed files with 45 additions and 19 deletions
+2 -9
View File
@@ -13,17 +13,10 @@ interface ConsumerInterface
/**
* @param int $offset
* @param $part
* @param int $crc
* @param int $magic
* @param int $attr
* @param int $timestamp
* @param string $key
* @param string $value
* @param Struct $struct
* @return mixed
*/
public function onHandler(int $offset, $part, int $crc, int $magic, int $attr, int $timestamp, string $key, string $value);
public function onHandler(Struct $struct);
}