Improved quality of docblock comments

This commit is contained in:
2018-04-15 22:08:19 +02:00
parent 20b6f1d42c
commit 31634c5054
9 changed files with 132 additions and 7 deletions

View File

@@ -5,9 +5,25 @@ namespace NoccyLabs\Ipc\Interop\Channel;
interface ChannelInterface
{
/**
* Check if the channel is open
*
* @return boolean
*/
public function isOpen():bool;
/**
* Receive (and unserialize) a frame of data.
*
* @return mixed
*/
public function receive();
/**
* Send a frame of data
*
* @param mixed $data
* @return void
*/
public function send($data);
}