Improved quality of docblock comments
This commit is contained in:
@@ -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);
|
||||
}
|
Reference in New Issue
Block a user